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