]> git.baikalelectronics.ru Git - kernel.git/commit
selftests/bpf/test_xdp_vlan: use temp netns for testing
authorHangbin Liu <liuhangbin@gmail.com>
Tue, 25 Jan 2022 08:17:13 +0000 (16:17 +0800)
committerAlexei Starovoitov <ast@kernel.org>
Fri, 28 Jan 2022 03:21:27 +0000 (19:21 -0800)
commitf3ded955ec11149fdab3249a393fa6d647475faf
treecd118b294cacad13caad307d82e725cd519d6793
parent9140f6b51013461e4a713f8044e7aee53aa6476f
selftests/bpf/test_xdp_vlan: use temp netns for testing

Use temp netns instead of hard code name for testing in case the
netns already exists.

Signed-off-by: Hangbin Liu <liuhangbin@gmail.com>
Link: https://lore.kernel.org/r/20220125081717.1260849-4-liuhangbin@gmail.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
tools/testing/selftests/bpf/test_xdp_vlan.sh