Here are some unrelated improvements for MPTCP and its selftests:
- Patches 1-4: make sure RM_ADDR are not lost when receiving or sending
them, e.g. when they are close to each other or to an ADD_ADDR. These
are non-urgent fixes for issues found by code inspection or during a
review, that can be backported if needed.
- Patch 5: annotate lockless access to msk->scaling_ratio, reported by
KCSAN.
- Patch 6: print the right netns name when dumping stats in the
selftests.
- Patches 7-8: fix unlikely issues in the sockopt selftests, when read()
returns partial chunks, or the connection is closed early, but that
silence quite a few Sashiko reports when modifying this file.
- Patch 9: add a new msk_is_mptcp() helper, that will be used to add
MPTCP support to BPF sockmap and Landlock. Sending it now to avoid
conflicts in a future merge window.
- Patch 10: print stats before closing the socket in case of poll
timeout in the selftests, to help debugging such issues.
Signed-off-by: Matthieu Baerts (NGI0) <matt…@kernel.org>
---
Geliang Tang (1):
mptcp: add msk_is_mptcp() helper
Josef Bacik (3):
mptcp: pm: work on a copy of the received RM_ADDR list
mptcp: pm: don't drop an RM_ADDR behind a pending one
mptcp: pm: don't drop an RM_ADDR because of an ADD_ADDR
Matthieu Baerts (NGI0) (3):
mptcp: pm: keep an RM_ADDR when computing the MSS
selftests: mptcp: join: dump stats with right title
selftests: mptcp: print stats before socket closure
Quanye Yang (3):
mptcp: annotate lockless access to msk->scaling_ratio
selftests: mptcp: sockopt: pass total bytes to do_getsockopts
selftests: mptcp: sockopt: drop unreachable FIN accounting
include/net/mptcp.h | 12 +++++++
include/trace/events/mptcp.h | 2 +-
net/mptcp/options.c | 12 +++++--
net/mptcp/pm.c | 38 +++++++++++++++++------
net/mptcp/protocol.c | 11 +++++--
net/mptcp/protocol.h | 9 ++++--
tools/testing/selftests/net/mptcp/mptcp_connect.c | 15 +++++++++
tools/testing/selftests/net/mptcp/mptcp_join.sh | 2 +-
tools/testing/selftests/net/mptcp/mptcp_sockopt.c | 15 +++------
9 files changed, 86 insertions(+), 30 deletions(-)
---
base-commit: d5cf954cebe4f175dfd834e1dc471a3aa203ec7d
change-id: 20261204-net-next-mptcp-misc-feat-7-5-f6e63822520a
Best regards,
--
Matthieu Baerts (NGI0) <matt…@kernel.org>
[PATCH net-next 00/10] mptcp: misc improvements for v7.5
- From
- matt…@kernel.org ("Matthieu Baerts (NGI0)")
- Organization
- Usenet Network
- Message-ID
- <2026…@kernel.org>
- Date
- Newsgroups
- linux.kernel.netdev