]> Gentwo Git Trees - linux/.git/commit
selftests/bpf: Use start_server_str rather than start_reuseport_server in tc_tunnel
authorAlexis Lothoré (eBPF Foundation) <alexis.lothore@bootlin.com>
Wed, 5 Nov 2025 08:22:49 +0000 (09:22 +0100)
committerMartin KaFai Lau <martin.lau@kernel.org>
Thu, 6 Nov 2025 23:23:04 +0000 (15:23 -0800)
commit5b7d6c91986e98b4cab5d1f7bdcf392a42d1057b
tree4301042753a05770e4f98c9bde7bd171061d4775
parent38e36514fcb01ff1cce84cd77a93906f233a4cb8
selftests/bpf: Use start_server_str rather than start_reuseport_server in tc_tunnel

Now that start_server_str enforces SO_REUSEADDR, there's no need to keep
using start_reusport_server in tc_tunnel, especially since it only uses
one server at a time.

Replace start_reuseport_server with start_server_str in tc_tunnel test.

Signed-off-by: Alexis Lothoré (eBPF Foundation) <alexis.lothore@bootlin.com>
Signed-off-by: Martin KaFai Lau <martin.lau@kernel.org>
Link: https://patch.msgid.link/20251105-start-server-soreuseaddr-v1-2-1bbd9c1f8d65@bootlin.com
tools/testing/selftests/bpf/prog_tests/test_tc_tunnel.c