diff options
author | Eric Dumazet <edumazet@google.com> | 2024-02-06 17:43:12 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2024-02-08 05:55:12 +0300 |
commit | 8962daccc2d32812fe24bd21496c036eb4f454b0 (patch) | |
tree | f7dcd82263393d8c8dee032a7f6926cd43f9a045 /tools/include/uapi/linux/if_link.h | |
parent | 806b67850787bae3df1bc2e5a30e8c658c579d80 (diff) | |
download | linux-8962daccc2d32812fe24bd21496c036eb4f454b0.tar.xz |
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 'tools/include/uapi/linux/if_link.h')
0 files changed, 0 insertions, 0 deletions