Files
linux/net/ethtool
Jakub Kicinski f635b0c912 net: ethtool: don't take rtnl_lock for global string dump
ETHTOOL_MSG_STRSET_GET is the only op which sets allow_nodev_do.
When no device is provided it dumps static tables, there's no
need to hold rtnl_lock for this.

Not taking rtnl_lock is a minor win in itself so I think this
patch stands on its own merits. Later on it will be useful
to do locking only in paths which have access to a netdev,
so that we can decide which locks to take per-netdev.

Reviewed-by: Vadim Fedorenko <vadim.fedorenko@linux.dev>
Link: https://patch.msgid.link/20260527162522.3344231-1-kuba@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2026-05-28 14:46:10 -07:00
..
2026-03-20 19:10:18 -07:00
2026-03-20 19:10:18 -07:00
2026-03-20 19:10:18 -07:00
2026-03-20 19:10:18 -07:00
2026-03-20 19:10:18 -07:00
2026-03-20 19:10:18 -07:00
2026-03-20 19:10:18 -07:00