diff options
| author | Eric Dumazet <[email protected]> | 2024-02-06 14:42:59 +0000 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2024-02-07 18:55:11 -0800 |
| commit | a7ec2512ad7b23340059f59f3fd710cab056791a (patch) | |
| tree | e40d9ddaba613228fb6cdc071a67d068b67d17db /tools/perf/scripts/python/stackcollapse.py | |
| parent | fd4f101edbd9f99567ab2adb1f2169579ede7c13 (diff) | |
nexthop: convert nexthop_net_exit_batch to exit_batch_rtnl method
exit_batch_rtnl() is called while RTNL is held.
This saves one rtnl_lock()/rtnl_unlock() pair.
We also need to create nexthop_net_exit()
to make sure net->nexthop.devhash is not freed too soon,
otherwise we will not be able to unregister netdev
from exit_batch_rtnl() methods.
Signed-off-by: Eric Dumazet <[email protected]>
Reviewed-by: David Ahern <[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 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions