diff options
author | Lorenz Bauer <lmb@cloudflare.com> | 2019-03-22 02:54:06 +0100 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2019-03-22 02:59:11 +0100 |
commit | bafc0ba8261e36e36b0b1e851749fd3712a2a6f4 (patch) | |
tree | 7121a9eaa84868932fd2b124ac432e4424d17eeb /tools/testing/selftests/bpf/.gitignore | |
parent | selftests/bpf: test references to sock_common (diff) | |
download | linux-bafc0ba8261e36e36b0b1e851749fd3712a2a6f4.tar.xz linux-bafc0ba8261e36e36b0b1e851749fd3712a2a6f4.zip |
selftests/bpf: add tests for bpf_tcp_check_syncookie and bpf_skc_lookup_tcp
Add tests which verify that the new helpers work for both IPv4 and
IPv6, by forcing SYN cookies to always on. Use a new network namespace
to avoid clobbering the global SYN cookie settings.
Signed-off-by: Lorenz Bauer <lmb@cloudflare.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'tools/testing/selftests/bpf/.gitignore')
-rw-r--r-- | tools/testing/selftests/bpf/.gitignore | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/testing/selftests/bpf/.gitignore b/tools/testing/selftests/bpf/.gitignore index 3b74d23fffab..41e8a689aa77 100644 --- a/tools/testing/selftests/bpf/.gitignore +++ b/tools/testing/selftests/bpf/.gitignore @@ -30,4 +30,5 @@ test_netcnt test_section_names test_tcpnotify_user test_libbpf +test_tcp_check_syncookie_user alu32 |