This series is a preparation work for future in-kernel MPTCP sockets usage. Here, two interfaces are implemented: read_sock and splice_read. As a result of this series, splice() with MPTCP sockets -- which was already supported -- is now improved.
- Patches 1-2: .read_sock implementation - Patches 3-4: .splice_read implementation - Patches 5-6: validate splice() support with MPTCP sockets. Signed-off-by: Matthieu Baerts (NGI0) <[email protected]> --- Geliang Tang (6): mptcp: add eat_recv_skb helper mptcp: implement .read_sock tcp: export tcp_splice_state mptcp: implement .splice_read selftests: mptcp: add splice io mode selftests: mptcp: connect: cover splice mode include/net/tcp.h | 11 ++ net/ipv4/tcp.c | 13 +- net/mptcp/protocol.c | 215 ++++++++++++++++++++- tools/testing/selftests/net/mptcp/Makefile | 1 + tools/testing/selftests/net/mptcp/mptcp_connect.c | 63 +++++- .../selftests/net/mptcp/mptcp_connect_splice.sh | 5 + 6 files changed, 289 insertions(+), 19 deletions(-) --- base-commit: e75e408dc524ba32b3bd66e89d2ba1e337877bfa change-id: 20260129-net-next-mptcp-splice-62db4a1a9c52 Best regards, -- Matthieu Baerts (NGI0) <[email protected]>

