diff options
author | 2025-01-17 23:21:13 +0000 | |
---|---|---|
committer | 2025-01-18 17:41:21 -0800 | |
commit | 185e5b869071812bcb278cf0973b8a7bbce0dc27 (patch) | |
tree | 0d8983a671132a8b35b4438fca48c2d3ac75f3c3 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | net: phy: remove leftovers from switch to linkmode bitmaps (diff) | |
download | wireguard-linux-185e5b869071812bcb278cf0973b8a7bbce0dc27.tar.xz wireguard-linux-185e5b869071812bcb278cf0973b8a7bbce0dc27.zip |
net: introduce netdev_napi_exit()
After 1b23cdbd2bbc ("net: protect netdev->napi_list with netdev_lock()")
it makes sense to iterate through dev->napi_list while holding
the device lock.
Also call synchronize_net() at most one time.
Signed-off-by: Eric Dumazet <edumazet@google.com>
Link: https://patch.msgid.link/20250117232113.1612899-1-edumazet@google.com
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