diff options
author | Jakub Kicinski <kuba@kernel.org> | 2025-01-14 19:53:15 -0800 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2025-01-15 19:13:34 -0800 |
commit | eeeec1d4c6930691fc59858799b8a7443d9d30ee (patch) | |
tree | 94634949d7aea24b33ed4a8e49bc232982a6889a /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 413f0271f3966e0c73d4937963f19335af19e628 (diff) |
net: make netdev netlink ops hold netdev_lock()
In prep for dropping rtnl_lock, start locking netdev->lock in netlink
genl ops. We need to be using netdev->up instead of flags & IFF_UP.
We can remove the RCU lock protection for the NAPI since NAPI list
is protected by netdev->lock already.
Reviewed-by: Eric Dumazet <edumazet@google.com>
Reviewed-by: Kuniyuki Iwashima <kuniyu@amazon.com>
Link: https://patch.msgid.link/20250115035319.559603-8-kuba@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions