summaryrefslogtreecommitdiff
path: root/include/linux/debugobjects.h
diff options
context:
space:
mode:
authorJakub Kicinski <kuba@kernel.org>2026-05-27 19:25:22 +0300
committerJakub Kicinski <kuba@kernel.org>2026-05-29 00:46:10 +0300
commitf635b0c91275cae4021d6274155c994edc52a845 (patch)
tree787a4006aa2541cdcc3852f01a62735d9ef7ce36 /include/linux/debugobjects.h
parente03f0b53b4bd51b70e48e3548bd1163e8496ff9e (diff)
downloadlinux-f635b0c91275cae4021d6274155c994edc52a845.tar.xz
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>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions