[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240207095743.1fc940f0@kernel.org>
Date: Wed, 7 Feb 2024 09:57:43 -0800
From: Jakub Kicinski <kuba@...nel.org>
To: Eric Dumazet <edumazet@...gle.com>
Cc: "David S . Miller" <davem@...emloft.net>, Paolo Abeni
<pabeni@...hat.com>, netdev@...r.kernel.org, eric.dumazet@...il.com
Subject: Re: [PATCH net-next] ethtool: do not use rtnl in
ethnl_default_dumpit()
On Wed, 7 Feb 2024 15:35:14 +0000 Eric Dumazet wrote:
> for_each_netdev_dump() can be used with RCU protection,
> no need for rtnl if we are going to use dev_hold()/dev_put().
>
> Signed-off-by: Eric Dumazet <edumazet@...gle.com>
Reviewed-by: Jakub Kicinski <kuba@...nel.org>
Powered by blists - more mailing lists