[PATCH net-next 0/5] mptcp: support MSG_EOR and small cleanups

From: Matthieu Baerts (NGI0)

Date: Fri Apr 03 2026 - 07:31:58 EST


This series contains various unrelated patches:

- Patches 1 & 2: support MSG_EOR instead of ignoring it.

- Patch 3: avoid duplicated code in TCP and MPTCP by using a new helper.

- Patch 4: remove duplicated condition.

- Patch 5: adapt test to reproduce bug and increase code coverage.

Signed-off-by: Matthieu Baerts (NGI0) <matttbe@xxxxxxxxxx>
---
Gang Yan (2):
mptcp: reduce 'overhead' from u16 to u8
mptcp: preserve MSG_EOR semantics in sendmsg path

Geliang Tang (1):
tcp: add recv_should_stop helper

Matthieu Baerts (NGI0) (2):
mptcp: pm: in-kernel: remove mptcp_pm_has_addr_attr_id
selftests: mptcp: join: recreate signal endp with same ID

include/net/tcp.h | 8 +++++
net/ipv4/tcp.c | 9 ++----
net/mptcp/pm_kernel.c | 24 +++------------
net/mptcp/protocol.c | 41 ++++++++++++++++++-------
net/mptcp/protocol.h | 3 +-
tools/testing/selftests/net/mptcp/mptcp_join.sh | 4 +--
6 files changed, 49 insertions(+), 40 deletions(-)
---
base-commit: 8b0e64d6c9e7feec5ba5643b4fa8b7fd54464778
change-id: 20260403-net-next-mptcp-msg_eor-misc-6b4567dd37dc

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