[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Zs2C5nlDKlgxd32a@nanopsycho.orion>
Date: Tue, 27 Aug 2024 09:40:22 +0200
From: Jiri Pirko <jiri@...nulli.us>
To: Thomas Bogendoerfer <tbogendoerfer@...e.de>
Cc: Tony Nguyen <anthony.l.nguyen@...el.com>,
Przemek Kitszel <przemyslaw.kitszel@...el.com>,
"David S. Miller" <davem@...emloft.net>,
Eric Dumazet <edumazet@...gle.com>,
Jakub Kicinski <kuba@...nel.org>, Paolo Abeni <pabeni@...hat.com>,
Daniel Machon <daniel.machon@...rochip.com>,
Dave Ertman <david.m.ertman@...el.com>,
intel-wired-lan@...ts.osuosl.org, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2 net] ice: Fix NULL pointer access, if PF doesn't
support SRIOV_LAG
Tue, Aug 27, 2024 at 09:16:02AM CEST, tbogendoerfer@...e.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@...e.de>
Reviewed-by: Jiri Pirko <jiri@...dia.com>
Powered by blists - more mailing lists