summaryrefslogtreecommitdiffstats
path: root/net/core/net-sysfs.c
diff options
context:
space:
mode:
authorJakub Kicinski <kuba@kernel.org>2025-01-15 04:53:17 +0100
committerJakub Kicinski <kuba@kernel.org>2025-01-16 04:13:34 +0100
commit53ed30800d3fd36e1e9f7ba8014b150632f714b1 (patch)
treeee3f3e49cea55c4fabea50d7aa8b1a356c100718 /net/core/net-sysfs.c
parentnet: protect threaded status of NAPI with netdev_lock() (diff)
downloadlinux-53ed30800d3fd36e1e9f7ba8014b150632f714b1.tar.xz
linux-53ed30800d3fd36e1e9f7ba8014b150632f714b1.zip
net: protect napi->irq with netdev_lock()
Take netdev_lock() in netif_napi_set_irq(). All NAPI "control fields" are now protected by that lock (most of the other ones are set during napi add/del). The napi_hash_node is fully protected by the hash spin lock, but close enough for the kdoc... Reviewed-by: Joe Damato <jdamato@fastly.com> Reviewed-by: Eric Dumazet <edumazet@google.com> Reviewed-by: Kuniyuki Iwashima <kuniyu@amazon.com> Link: https://patch.msgid.link/20250115035319.559603-10-kuba@kernel.org Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/core/net-sysfs.c')
0 files changed, 0 insertions, 0 deletions