diff options
author | Pedro Tammela <[email protected]> | 2023-11-17 14:12:05 -0300 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2023-11-20 18:06:36 -0800 |
commit | 3d5026fc5adbc796a0547fcef19d997786e0bb31 (patch) | |
tree | c7b0b77e82232465560b46ef8fe94c1d6bd1d1aa /tools/testing/selftests/bpf/progs/test_autoload.c | |
parent | 50a5988a7a540fb1ad4e620e1bbf11cc646e3dc7 (diff) |
selftests: tc-testing: use netns delete from pyroute2
When pyroute2 is available, use the native netns delete routine instead
of calling iproute2 to do it. As forks are expensive with some kernel
configs, minimize its usage to avoid kselftests timeouts.
Signed-off-by: Pedro Tammela <[email protected]>
Reviewed-by: Simon Horman <[email protected]>
Acked-by: Jamal Hadi Salim <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/progs/test_autoload.c')
0 files changed, 0 insertions, 0 deletions