[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID:
<CH2PR12MB3895A1CB1D3E148E6707BE2DD7D2A@CH2PR12MB3895.namprd12.prod.outlook.com>
Date: Fri, 13 Oct 2023 14:58:22 +0000
From: Asmaa Mnebhi <asmaa@...dia.com>
To: Florian Fainelli <f.fainelli@...il.com>, "davem@...emloft.net"
<davem@...emloft.net>, "edumazet@...gle.com" <edumazet@...gle.com>,
"kuba@...nel.org" <kuba@...nel.org>, "pabeni@...hat.com" <pabeni@...hat.com>,
"olteanv@...il.com" <olteanv@...il.com>
CC: "netdev@...r.kernel.org" <netdev@...r.kernel.org>, David Thompson
<davthompson@...dia.com>
Subject: RE: [PATCH v3 1/3] mlxbf_gige: Fix kernel panic at shutdown
> > priv = container_of(napi, struct mlxbf_gige, napi);
> >
> > + if (!priv)
> > + return 0;
>
> Do you still need this test even after you unregistered the network device in
> your shutdown routine?
always good to check variables but if want me to remove it I can.
Powered by blists - more mailing lists