diff options
author | 2025-04-11 13:52:41 -0700 | |
---|---|---|
committer | 2025-04-14 17:08:44 -0700 | |
commit | fc3dc33f668c12285d82ad7a57b9dc3ca2922f8e (patch) | |
tree | 9767a2d9217681b1b3ff69b495e07aaccf8fb9a5 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | gtp: Convert gtp_net_exit_batch_rtnl() to ->exit_rtnl(). (diff) | |
download | wireguard-linux-fc3dc33f668c12285d82ad7a57b9dc3ca2922f8e.tar.xz wireguard-linux-fc3dc33f668c12285d82ad7a57b9dc3ca2922f8e.zip |
bareudp: Convert bareudp_exit_batch_rtnl() to ->exit_rtnl().
bareudp_exit_batch_rtnl() iterates the dying netns list and performs the
same operation for each.
Let's use ->exit_rtnl().
While at it, we replace unregister_netdevice_queue() with
bareudp_dellink() for better cleanup. It unlinks the device
from net_generic(net, bareudp_net_id)->bareudp_list, but there
is no real issue as both the dev and the list are freed later.
Signed-off-by: Kuniyuki Iwashima <kuniyu@amazon.com>
Reviewed-by: Sabrina Dubroca <sd@queasysnail.net>
Link: https://patch.msgid.link/20250411205258.63164-13-kuniyu@amazon.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions