]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitfb599539ec1930e6af75be226ceec6f89dbef089
tree9a959fca406f9732a21a469e06a4f3ea764ae7e0
parent9ad181d1b2a22c5a33fc514d521ed89590bd1638
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