diff options
author | Kuniyuki Iwashima <kuniyu@amazon.com> | 2025-04-11 13:52:41 -0700 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2025-04-14 17:08:44 -0700 |
commit | fc3dc33f668c12285d82ad7a57b9dc3ca2922f8e (patch) | |
tree | 9767a2d9217681b1b3ff69b495e07aaccf8fb9a5 /drivers/fpga/tests/fpga-bridge-test.c | |
parent | bc7eaf7a40bba2172af3033fbece13af206c97fe (diff) |
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 'drivers/fpga/tests/fpga-bridge-test.c')
0 files changed, 0 insertions, 0 deletions