]> Gentwo Git Trees - linux/.git/commit
selftests/bpf: Add mptcp test with sockmap
authorJiayuan Chen <jiayuan.chen@linux.dev>
Tue, 11 Nov 2025 06:02:52 +0000 (14:02 +0800)
committerMartin KaFai Lau <martin.lau@kernel.org>
Thu, 13 Nov 2025 21:18:25 +0000 (13:18 -0800)
commitcb730e4ac1b4dca09d364fd83464ebd29547a4ef
treec2f2d18dd2f4b6699301059fe60d1667f61b53b1
parentc77b3b79a92e3345aa1ee296180d1af4e7031f8f
selftests/bpf: Add mptcp test with sockmap

Add test cases to verify that when MPTCP falls back to plain TCP sockets,
they can properly work with sockmap.

Additionally, add test cases to ensure that sockmap correctly rejects
MPTCP sockets as expected.

Signed-off-by: Jiayuan Chen <jiayuan.chen@linux.dev>
Signed-off-by: Martin KaFai Lau <martin.lau@kernel.org>
Acked-by: Matthieu Baerts (NGI0) <matttbe@kernel.org>
Link: https://patch.msgid.link/20251111060307.194196-4-jiayuan.chen@linux.dev
tools/testing/selftests/bpf/prog_tests/mptcp.c
tools/testing/selftests/bpf/progs/mptcp_sockmap.c [new file with mode: 0644]