From: Geliang Tang <geliang@kernel.org>
To: mptcp@lists.linux.dev
Cc: Geliang Tang <tanggeliang@kylinos.cn>
Subject: [PATCH mptcp-next v5 00/16] MPTCP sockmap support
Date: Sun, 13 Sep 2026 18:14:39 +0800 [thread overview]
Message-ID: <cover.1789294365.git.tanggeliang@kylinos.cn> (raw)
From: Geliang Tang <tanggeliang@kylinos.cn>
v5:
- Patches 1-4 are from "Reduce the differences between TCP and MPTCP for
TLS usage" set.
- More patches for sockmap support.
- Rename this set from "implement psock_update_sk_prot" to "MPTCP sockmap
support"
v4:
- Address Mat's comments: implement .read_skb to make the selftests run.
- Move mptcp_bpf_update_proto() from protocol.c to bpf.c.
- Include the "implement .splice_eof" patches in this series, as they
both modify mptcp_prot, mptcp_stream_ops and mptcp_v6_stream_ops.
- https://patchwork.kernel.org/project/mptcp/cover/cover.1787554581.git.tanggeliang@kylinos.cn/
v3:
- Address the comments by ai review.
- use WRITE_ONCE to set sk->sk_write_space.
- update the selftest, set a new key for client socket.
- Fix line length warnings.
- https://patchwork.kernel.org/project/mptcp/cover/cover.1773826662.git.tanggeliang@kylinos.cn/
RESEND:
- rebased.
- to trigger ai review.
v2:
- Include mptcp_bpf_update_proto within CONFIG_BPF_SYSCALL to fix the
compilation errors reported by the kernel test robot.
- Add checks for IS_ENABLED(CONFIG_MPTCP_IPV6).
Implement psock_update_sk_prot, for basic MPTCP BPF SOCKMAP support.
Closes: https://github.com/multipath-tcp/mptcp_net-next/issues/521
Geliang Tang (15):
mptcp: add sendmsg_locked to proto_ops
mptcp: track app-limited state in mptcp_sendmsg
selftests: mptcp: sockopt: check app_limited
bpf: drop duplicate check_app_limited in tcp_bpf_push
mptcp: implement psock_update_sk_prot for sockmap
mptcp: add sock_map_update BPF helper
selftests/bpf: enable MPTCP support in sockmap tests
mptcp: implement read_skb for sockmap stream verdict
bpf: export and generalize tcp_bpf_ioctl
mptcp: add TCP_REPAIR sockopt support
selftests/bpf: add MPTCP coverage to sockmap_basic
mptcp: add sk_is_msk() helper and use it in sockmap
mptcp: add SO_ATTACH_REUSEPORT_EBPF support
mptcp: add sk_select_reuseport BPF helper
selftests/bpf: add MPTCP coverage to sockmap_listen
Paolo Abeni (1):
mptcp: defer read_sock cleanup to mptcp_worker
include/linux/bpf.h | 13 ++
include/net/mptcp.h | 12 ++
include/net/tcp.h | 7 +
include/uapi/linux/bpf.h | 19 ++
kernel/bpf/verifier.c | 8 +-
net/core/filter.c | 60 +++++-
net/core/sock_map.c | 14 +-
net/ipv4/tcp.c | 9 +-
net/ipv4/tcp_bpf.c | 40 ++--
net/mptcp/bpf.c | 172 ++++++++++++++++++
net/mptcp/protocol.c | 114 ++++++++++--
net/mptcp/protocol.h | 20 ++
net/mptcp/sockopt.c | 21 ++-
.../testing/selftests/bpf/prog_tests/mptcp.c | 27 +--
.../selftests/bpf/prog_tests/socket_helpers.h | 25 ++-
.../selftests/bpf/prog_tests/sockmap_basic.c | 33 +++-
.../selftests/bpf/prog_tests/sockmap_listen.c | 122 ++++++++-----
.../selftests/bpf/progs/mptcp_sockmap.c | 8 +-
.../selftests/bpf/progs/test_sockmap_listen.c | 25 +++
.../selftests/net/mptcp/mptcp_sockopt.c | 1 +
20 files changed, 622 insertions(+), 128 deletions(-)
--
2.53.0
next reply other threads:[~2026-09-13 10:15 UTC|newest]
Thread overview: 31+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-09-13 10:14 Geliang Tang [this message]
2026-09-13 10:14 ` [PATCH mptcp-next v5 01/16] mptcp: defer read_sock cleanup to mptcp_worker Geliang Tang
2026-09-13 10:14 ` [PATCH mptcp-next v5 02/16] mptcp: add sendmsg_locked to proto_ops Geliang Tang
2026-09-13 10:14 ` [PATCH mptcp-next v5 03/16] mptcp: track app-limited state in mptcp_sendmsg Geliang Tang
2026-09-13 10:14 ` [PATCH mptcp-next v5 04/16] selftests: mptcp: sockopt: check app_limited Geliang Tang
2026-09-13 10:14 ` [PATCH mptcp-next v5 05/16] bpf: drop duplicate check_app_limited in tcp_bpf_push Geliang Tang
2026-09-13 18:18 ` Matthieu Baerts
2026-09-13 10:14 ` [PATCH mptcp-next v5 06/16] mptcp: implement psock_update_sk_prot for sockmap Geliang Tang
2026-09-13 10:46 ` sashiko-bot
2026-09-13 18:22 ` Matthieu Baerts
2026-09-13 10:14 ` [PATCH mptcp-next v5 07/16] mptcp: add sock_map_update BPF helper Geliang Tang
2026-09-13 10:30 ` sashiko-bot
2026-09-13 10:14 ` [PATCH mptcp-next v5 08/16] selftests/bpf: enable MPTCP support in sockmap tests Geliang Tang
2026-09-13 10:33 ` sashiko-bot
2026-09-13 10:14 ` [PATCH mptcp-next v5 09/16] mptcp: implement read_skb for sockmap stream verdict Geliang Tang
2026-09-13 10:40 ` sashiko-bot
2026-09-13 10:14 ` [PATCH mptcp-next v5 10/16] bpf: export and generalize tcp_bpf_ioctl Geliang Tang
2026-09-13 10:28 ` sashiko-bot
2026-09-13 10:14 ` [PATCH mptcp-next v5 11/16] mptcp: add TCP_REPAIR sockopt support Geliang Tang
2026-09-13 10:38 ` sashiko-bot
2026-09-13 10:14 ` [PATCH mptcp-next v5 12/16] selftests/bpf: add MPTCP coverage to sockmap_basic Geliang Tang
2026-09-13 10:30 ` sashiko-bot
2026-09-13 10:14 ` [PATCH mptcp-next v5 13/16] mptcp: add sk_is_msk() helper and use it in sockmap Geliang Tang
2026-09-13 10:48 ` sashiko-bot
2026-09-13 10:14 ` [PATCH mptcp-next v5 14/16] mptcp: add SO_ATTACH_REUSEPORT_EBPF support Geliang Tang
2026-09-13 10:14 ` [PATCH mptcp-next v5 15/16] mptcp: add sk_select_reuseport BPF helper Geliang Tang
2026-09-13 10:48 ` sashiko-bot
2026-09-13 10:14 ` [PATCH mptcp-next v5 16/16] selftests/bpf: add MPTCP coverage to sockmap_listen Geliang Tang
2026-09-13 10:45 ` sashiko-bot
2026-09-13 11:24 ` [PATCH mptcp-next v5 00/16] MPTCP sockmap support MPTCP CI
2026-09-13 11:43 ` MPTCP CI
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cover.1789294365.git.tanggeliang@kylinos.cn \
--to=geliang@kernel.org \
--cc=mptcp@lists.linux.dev \
--cc=tanggeliang@kylinos.cn \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox