diff options
author | Ido Schimmel <[email protected]> | 2020-11-01 13:39:26 +0200 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2020-11-03 15:22:49 -0800 |
commit | 626d667b19608c64d86cd71e6ecaa9ddc8650361 (patch) | |
tree | ea784ac6b46c92bfd1291479184c57c6f9b7125f /tools/perf/scripts/python/net_dropmonitor.py | |
parent | 12c9ee3cb4dc554abced62e9e54ff86bb74fc08c (diff) |
vxlan: Use a per-namespace nexthop listener instead of a global one
The nexthop notification chain is a per-namespace chain and not a global
one like the netdev notification chain.
Therefore, a single (global) listener cannot be registered to all these
chains simultaneously as it will result in list corruptions whenever
listeners are registered / unregistered.
Instead, register a different listener in each namespace.
Currently this is not an issue because only the VXLAN driver registers a
listener to this chain, but this is going to change with netdevsim and
mlxsw also registering their own listeners.
Signed-off-by: Ido Schimmel <[email protected]>
Reviewed-by: David Ahern <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions