diff options
| author | 2024-02-06 14:43:12 +0000 | |
|---|---|---|
| committer | 2024-02-07 18:55:12 -0800 | |
| commit | 8962daccc2d32812fe24bd21496c036eb4f454b0 (patch) | |
| tree | f7dcd82263393d8c8dee032a7f6926cd43f9a045 /net/unix/garbage.c | |
| parent | bridge: use exit_batch_rtnl() method (diff) | |
| download | wireguard-linux-8962daccc2d32812fe24bd21496c036eb4f454b0.tar.xz wireguard-linux-8962daccc2d32812fe24bd21496c036eb4f454b0.zip | |
xfrm: interface: use exit_batch_rtnl() method
exit_batch_rtnl() is called while RTNL is held,
and devices to be unregistered can be queued in the dev_kill_list.
This saves one rtnl_lock()/rtnl_unlock() pair per netns
and one unregister_netdevice_many() call.
Signed-off-by: Eric Dumazet <edumazet@google.com>
Reviewed-by: Antoine Tenart <atenart@kernel.org>
Link: https://lore.kernel.org/r/20240206144313.2050392-17-edumazet@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/unix/garbage.c')
0 files changed, 0 insertions, 0 deletions
