[PATCH net 0/3] mptcp: rx path fixes

From: Matthieu Baerts (NGI0)
Date: Mon Dec 30 2024 - 13:12:47 EST


Here are 3 different fixes, all related to the MPTCP receive buffer:

- Patch 1: fix receive buffer space when recvmsg() blocks after
receiving some data. For a fix introduced in v6.12, backported to
v6.1.

- Patch 2: mptcp_cleanup_rbuf() can be called when no data has been
copied. For 5.11.

- Patch 3: prevent excessive coalescing on receive, which can affect the
throughput badly. It looks better to wait a bit before backporting
this one to stable versions, to get more results. For 5.10.

Signed-off-by: Matthieu Baerts (NGI0) <matttbe@xxxxxxxxxx>
---
Please note that there is no urgency here as well: this can of course be
sent to Linus next year!

Enjoy this holiday period!

---
Paolo Abeni (3):
mptcp: fix recvbuffer adjust on sleeping rcvmsg
mptcp: don't always assume copied data in mptcp_cleanup_rbuf()
mptcp: prevent excessive coalescing on receive

net/mptcp/protocol.c | 23 ++++++++++++-----------
1 file changed, 12 insertions(+), 11 deletions(-)
---
base-commit: a024e377efed31ecfb39210bed562932321345b3
change-id: 20241230-net-mptcp-rbuf-fixes-74526e59d951

Best regards,
--
Matthieu Baerts (NGI0) <matttbe@xxxxxxxxxx>