[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <9b87849f-6008-2fa4-3d5e-2c7269f5a597@ieee.org>
Date: Fri, 6 Aug 2021 06:39:53 -0500
From: Alex Elder <elder@...e.org>
To: Jakub Kicinski <kuba@...nel.org>, Alex Elder <elder@...aro.org>
Cc: davem@...emloft.net, bjorn.andersson@...aro.org,
evgreen@...omium.org, cpratapa@...eaurora.org,
subashab@...eaurora.org, elder@...nel.org, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH net-next 2/6] net: ipa: reorder netdev pointer assignments
On 8/5/21 8:41 PM, Jakub Kicinski wrote:
> On Thu, 5 Aug 2021 18:27:12 -0700 Jakub Kicinski wrote:
>> On Wed, 4 Aug 2021 10:36:22 -0500 Alex Elder wrote:
>>> Assign the ipa->modem_netdev and endpoint->netdev pointers *before*
>>> registering the network device. As soon as the device is
>>> registered it can be opened, and by that time we'll want those
>>> pointers valid.
>>>
>>> Similarly, don't make those pointers NULL until *after* the modem
>>> network device is unregistered in ipa_modem_stop().
>>>
>>> Signed-off-by: Alex Elder <elder@...aro.org>
>>
>> This one seems like a pretty legit race, net would be better if you
>> don't mind.
>
> Ah, this set was already applied, don't mind me :)
I really appreciate your review and feedback. Applied or not,
it's valuable to me.
-Alex
Powered by blists - more mailing lists