[PATCH net 00/11] mptcp: pm: misc. fixes for v7.1-rc3

From: Matthieu Baerts (NGI0)

Date: Tue May 05 2026 - 11:01:39 EST


Here are various fixes, mainly related to ADD_ADDRs:

- Patch 1: save ADD_ADDR for rtx with ID0 when needed. A fix for v6.1.

- Patch 2: remove unneeded exception for ID 0. A fix for v5.10.

- Patches 3-5: fix potential data-race and leaks during ADD_ADDR rtx. A
fix for v5.10.

- Patch 6: resched blocked ADD_ADDR rtx after a more appropriated
timeout, not after 15 seconds. A fix for v5.10.

- Patch 7: skip inactive subflows when when looking at the max RTO. A
fix for v6.18.

- Patch 8: avoid iterating over all subflows when there is no need to. A
fix for v6.18.

- Patch 9: skip closed subflows when looking at sending MP_PRIO. A fix
for v5.17.

- Patch 10: properly catch errors when using check_output() in the
selftests. A fix for v6.9.

- Patch 11: skip the 'unknown' flag test when 'ip mptcp' is used. A fix
for v6.10.

Signed-off-by: Matthieu Baerts (NGI0) <matttbe@xxxxxxxxxx>
---
Matthieu Baerts (NGI0) (11):
mptcp: pm: kernel: correctly retransmit ADD_ADDR ID 0
mptcp: pm: ADD_ADDR rtx: allow ID 0
mptcp: pm: ADD_ADDR rtx: fix potential data-race
mptcp: pm: ADD_ADDR rtx: always decrease sk refcount
mptcp: pm: ADD_ADDR rtx: free sk if last
mptcp: pm: ADD_ADDR rtx: resched blocked ADD_ADDR quicker
mptcp: pm: ADD_ADDR rtx: skip inactive subflows
mptcp: pm: ADD_ADDR rtx: return early if no retrans
mptcp: pm: prio: skip closed subflows
selftests: mptcp: check output: catch cmd errors
selftests: mptcp: pm: restrict 'unknown' check to pm_nl_ctl

net/mptcp/pm.c | 62 +++++++++++++++++--------
net/mptcp/pm_kernel.c | 13 ++++--
tools/testing/selftests/net/mptcp/mptcp_lib.sh | 16 ++++---
tools/testing/selftests/net/mptcp/pm_netlink.sh | 20 +++++---
4 files changed, 73 insertions(+), 38 deletions(-)
---
base-commit: 07d99587396024932e02474c3a5bede71d108454
change-id: 20260504-net-mptcp-pm-fixes-7-1-rc3-e4d81787300e

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