]> www.infradead.org Git - users/hch/configfs.git/commit
selftests/bpf: Use start_server_str in test_tcp_check_syncookie_user
authorGeliang Tang <tanggeliang@kylinos.cn>
Fri, 21 Jun 2024 02:16:03 +0000 (10:16 +0800)
committerAlexei Starovoitov <ast@kernel.org>
Fri, 21 Jun 2024 03:42:44 +0000 (20:42 -0700)
commit8cab7cdcf5aebec354ede98bca28c08dd9df924c
treecc0e37cedfc96abfb9183b0878d6e782c132349a
parentfb69f71cf585aabb2f59c6d7958bccfaebe64f5d
selftests/bpf: Use start_server_str in test_tcp_check_syncookie_user

Since start_server_str() is added now, it can be used in script
test_tcp_check_syncookie_user.c instead of start_server_addr() to
simplify the code.

Acked-by: Eduard Zingerman <eddyz87@gmail.com>
Signed-off-by: Geliang Tang <tanggeliang@kylinos.cn>
Link: https://lore.kernel.org/r/5d2f442261d37cff16c1f1b21a2b188508ab67fa.1718932493.git.tanggeliang@kylinos.cn
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
tools/testing/selftests/bpf/test_tcp_check_syncookie_user.c