[PATCH net-next v2 0/6] mptcp: implement .read_sock and .splice_read

Matthieu Baerts (NGI0) posted 6 patches 1 week ago
There is a newer version of this series
include/net/tcp.h                                  |  11 ++
net/ipv4/tcp.c                                     |  13 +-
net/mptcp/protocol.c                               | 218 ++++++++++++++++++++-
tools/testing/selftests/net/mptcp/Makefile         |   1 +
tools/testing/selftests/net/mptcp/mptcp_connect.c  |  79 +++++++-
.../selftests/net/mptcp/mptcp_connect_splice.sh    |   5 +
6 files changed, 308 insertions(+), 19 deletions(-)
[PATCH net-next v2 0/6] mptcp: implement .read_sock and .splice_read
Posted by Matthieu Baerts (NGI0) 1 week ago
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) <matttbe@kernel.org>
---
Changes in v2:
- Patch 4: Fix kdoc warning reported
- Patch 5: catch possible errors with splice()
- Link to v1: https://patch.msgid.link/20260129-net-next-mptcp-splice-v1-0-994cac40daa0@kernel.org

---
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                               | 218 ++++++++++++++++++++-
 tools/testing/selftests/net/mptcp/Makefile         |   1 +
 tools/testing/selftests/net/mptcp/mptcp_connect.c  |  79 +++++++-
 .../selftests/net/mptcp/mptcp_connect_splice.sh    |   5 +
 6 files changed, 308 insertions(+), 19 deletions(-)
---
base-commit: 6ad42b24413630199cb9f35d073f71768788f8dc
change-id: 20260129-net-next-mptcp-splice-62db4a1a9c52

Best regards,
-- 
Matthieu Baerts (NGI0) <matttbe@kernel.org>
Re: [PATCH net-next v2 0/6] mptcp: implement .read_sock and .splice_read
Posted by patchwork-bot+netdevbpf@kernel.org 4 days, 8 hours ago
Hello:

This series was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@kernel.org>:

On Fri, 30 Jan 2026 20:24:23 +0100 you wrote:
> 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
> 
> [...]

Here is the summary with links:
  - [net-next,v2,1/6] mptcp: add eat_recv_skb helper
    https://git.kernel.org/netdev/net-next/c/436510df0caf
  - [net-next,v2,2/6] mptcp: implement .read_sock
    https://git.kernel.org/netdev/net-next/c/250d9766a984
  - [net-next,v2,3/6] tcp: export tcp_splice_state
    https://git.kernel.org/netdev/net-next/c/2d85088d467f
  - [net-next,v2,4/6] mptcp: implement .splice_read
    https://git.kernel.org/netdev/net-next/c/22f3bd9bf8e8
  - [net-next,v2,5/6] selftests: mptcp: add splice io mode
    https://git.kernel.org/netdev/net-next/c/6a059c6bfb55
  - [net-next,v2,6/6] selftests: mptcp: connect: cover splice mode
    https://git.kernel.org/netdev/net-next/c/2f2dc84645fb

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html