[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250402171213.10f809d6@kernel.org>
Date: Wed, 2 Apr 2025 17:12:13 -0700
From: Jakub Kicinski <kuba@...nel.org>
To: Stanislav Fomichev <sdf@...ichev.me>
Cc: netdev@...r.kernel.org, davem@...emloft.net, edumazet@...gle.com,
pabeni@...hat.com, Cosmin Ratiu <cratiu@...dia.com>
Subject: Re: [PATCH net v5 02/11] net: hold instance lock during
NETDEV_REGISTER/UP
On Wed, 2 Apr 2025 17:02:20 -0700 Jakub Kicinski wrote:
> Is there a reason we don't hold the instance lock over
> unlist_netdevice() in unregister_netdevice_many_notify()
> but we do here? We need a separate fix for that..
I deleted too much here. I meant to say that we need a fix
for netns changing while netdev_get_by_index_lock() is
grabbing the device.
> but this series is big enough already. Unless there's
> a reason I think we should be consistent and not lock
> over the listing?
Powered by blists - more mailing lists