[Intel-wired-lan] [PATCH v2 net] ice: Fix NULL pointer access, if PF doesn't support SRIOV_LAG
Jiri Pirko
jiri at resnulli.us
Tue Aug 27 07:40:22 UTC 2024
Tue, Aug 27, 2024 at 09:16:02AM CEST, tbogendoerfer at suse.de wrote:
>For PFs, which don't support SRIOV_LAG, there is no pf->lag struct
>allocated. So before accessing pf->lag a NULL pointer check is needed.
>
>Fixes: 1e0f9881ef79 ("ice: Flesh out implementation of support for SRIOV on bonded interface")
>Signed-off-by: Thomas Bogendoerfer <tbogendoerfer at suse.de>
Reviewed-by: Jiri Pirko <jiri at nvidia.com>
More information about the Intel-wired-lan
mailing list