]> git.ipfire.org Git - thirdparty/linux.git/commit
selftests/bpf: test MSS value returned with bpf_tcp_gen_syncookie
authorAlexis Lothoré (eBPF Foundation) <alexis.lothore@bootlin.com>
Sun, 20 Oct 2024 19:22:57 +0000 (21:22 +0200)
committerMartin KaFai Lau <martin.lau@kernel.org>
Mon, 21 Oct 2024 20:18:51 +0000 (13:18 -0700)
commit3845ce74777eeb94892cdeedaf4b76e2341f3f42
tree07816bdd1ca4cf510fdcfc19b8777801fa377e45
parent8a5cd986023547b3499072e17ff1ddae2c7c66a4
selftests/bpf: test MSS value returned with bpf_tcp_gen_syncookie

One remaining difference between test_tcp_check_syncookie.sh and
btf_skc_cls_ingress is a small test on the mss value embedded in the
cookie generated with the eBPF helper.

Bring the corresponding test in btf_skc_cls_ingress.

Signed-off-by: Alexis Lothoré (eBPF Foundation) <alexis.lothore@bootlin.com>
Link: https://lore.kernel.org/r/20241020-syncookie-v2-5-2db240225fed@bootlin.com
Signed-off-by: Martin KaFai Lau <martin.lau@kernel.org>
tools/testing/selftests/bpf/prog_tests/btf_skc_cls_ingress.c
tools/testing/selftests/bpf/progs/test_btf_skc_cls_ingress.c