aboutsummaryrefslogtreecommitdiff
path: root/lib/memory-notifier-error-inject.c
diff options
context:
space:
mode:
authorEric Dumazet <[email protected]>2024-02-06 14:43:12 +0000
committerJakub Kicinski <[email protected]>2024-02-07 18:55:12 -0800
commit8962daccc2d32812fe24bd21496c036eb4f454b0 (patch)
treef7dcd82263393d8c8dee032a7f6926cd43f9a045 /lib/memory-notifier-error-inject.c
parent806b67850787bae3df1bc2e5a30e8c658c579d80 (diff)
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 <[email protected]> Reviewed-by: Antoine Tenart <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions