Skip to content
Commit e7689879 authored by Eric Dumazet's avatar Eric Dumazet Committed by Jakub Kicinski
Browse files

ethtool: do not use rtnl in ethnl_default_dumpit()



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: default avatarEric Dumazet <edumazet@google.com>
Link: https://lore.kernel.org/r/20240207153514.3640952-1-edumazet@google.com
Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent fd0bb2c7
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment