]> git.baikalelectronics.ru Git - kernel.git/commit
bpf: Adjust bpf_tcp_check_syncookie selftest to test dual-stack sockets
authorMaxim Mikityanskiy <maximmi@nvidia.com>
Wed, 6 Apr 2022 12:41:13 +0000 (15:41 +0300)
committerAlexei Starovoitov <ast@kernel.org>
Wed, 6 Apr 2022 16:44:45 +0000 (09:44 -0700)
commit53968dafc4a6061c1e01d884f1f9a4b8c4b0d5bc
tree9936aaa4be44889c4f379ff17bf8c703fdc2f53d
parent2e8702cc0cfa1080f29fd64003c00a3e24ac38de
bpf: Adjust bpf_tcp_check_syncookie selftest to test dual-stack sockets

The previous commit fixed support for dual-stack sockets in
bpf_tcp_check_syncookie. This commit adjusts the selftest to verify the
fixed functionality.

Signed-off-by: Maxim Mikityanskiy <maximmi@nvidia.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Acked-by: Arthur Fabre <afabre@cloudflare.com>
Link: https://lore.kernel.org/bpf/20220406124113.2795730-2-maximmi@nvidia.com
tools/testing/selftests/bpf/test_tcp_check_syncookie_user.c