selftests/bpf/test_xdp_veth: use temp netns for testing
authorHangbin Liu <liuhangbin@gmail.com>
Tue, 25 Jan 2022 08:17:12 +0000 (16:17 +0800)
committerAlexei Starovoitov <ast@kernel.org>
Fri, 28 Jan 2022 03:21:27 +0000 (19:21 -0800)
commit9d66c9ddc9fc660ed8bb58469c86baf2ca46de61
tree344aba85ca5e1fe6c858c098e01d619a6fb40fbf
parentcec74489a8dee93053340ec88ea938ff4008c3c0
selftests/bpf/test_xdp_veth: 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-3-liuhangbin@gmail.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
tools/testing/selftests/bpf/test_xdp_veth.sh