selftests/bpf/test_tcp_check_syncookie: use temp netns for testing
authorHangbin Liu <liuhangbin@gmail.com>
Tue, 25 Jan 2022 08:17:15 +0000 (16:17 +0800)
committerAlexei Starovoitov <ast@kernel.org>
Fri, 28 Jan 2022 03:21:28 +0000 (19:21 -0800)
commitab6bcc20722775022c5ab0086824e9d2e3ceefcd
tree33fff04206dd9769212d3049c1811d5fe245d91d
parent07c5855461084c1f14dfec17f21c6b2beb5ed6cc
selftests/bpf/test_tcp_check_syncookie: 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>
Acked-by: Lorenz Bauer <lmb@cloudflare.com>
Link: https://lore.kernel.org/r/20220125081717.1260849-6-liuhangbin@gmail.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
tools/testing/selftests/bpf/test_tcp_check_syncookie.sh