Re: [Intel-wired-lan] [PATCH net] ice: Fix NULL pointer access, if PF doesn't support SRIOV_LAG

2024-09-03 Thread Thomas Bogendoerfer
On Fri, 30 Aug 2024 17:12:56 + "Ertman, David M" wrote: > > -Original Message- > > From: Thomas Bogendoerfer > > Sent: Tuesday, August 27, 2024 12:12 PM > > To: Kitszel, Przemyslaw > > Cc: Nguyen, Anthony L ; David S. Miller > > ; E

Re: [Intel-wired-lan] [PATCH net] ice: Fix NULL pointer access, if PF doesn't support SRIOV_LAG

2024-08-27 Thread Thomas Bogendoerfer
On Tue, 27 Aug 2024 09:16:51 +0200 Przemek Kitszel wrote: > On 8/26/24 12:17, Thomas Bogendoerfer wrote: > > On Mon, 26 Aug 2024 11:41:19 +0200 > > Jiri Pirko wrote: > > > >> Mon, Aug 26, 2024 at 10:58:30AM CEST, tbogendoer...@suse.de wrote: > >>&

[Intel-wired-lan] [PATCH v2 net] ice: Fix NULL pointer access, if PF doesn't support SRIOV_LAG

2024-08-27 Thread Thomas Bogendoerfer
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 --- v

Re: [Intel-wired-lan] [PATCH net] ice: Fix NULL pointer access, if PF doesn't support SRIOV_LAG

2024-08-26 Thread Thomas Bogendoerfer
On Mon, 26 Aug 2024 11:41:19 +0200 Jiri Pirko wrote: > Mon, Aug 26, 2024 at 10:58:30AM CEST, tbogendoer...@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. &g

[Intel-wired-lan] [PATCH net] ice: Fix NULL pointer access, if PF doesn't support SRIOV_LAG

2024-08-26 Thread Thomas Bogendoerfer
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. Signed-off-by: Thomas Bogendoerfer --- drivers/net/ethernet/intel/ice/ice_lag.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --gi