[PATCH net 0/5] mptcp: avoid dup NL events and propagate error

From: Matthieu Baerts (NGI0)

Date: Tue Jan 27 2026 - 14:30:38 EST


Here are two fixes affecting the MPTCP Netlink events with their tests:

- Patches 1 & 2: a subflow closed NL event was visible multiple times in
some specific conditions. A fix for v5.12.

- Patches 3 & 4: subflow closed NL events never contained the error
code, even when expected. A fix for v5.11.

Plus an extra fix:

- Patch 5: fix a false positive with the "signal addresses race test"
subtest when validating the MPTCP Join selftest on a v5.15.y stable
kernel.

Signed-off-by: Matthieu Baerts (NGI0) <matttbe@xxxxxxxxxx>
---
Matthieu Baerts (NGI0) (5):
mptcp: avoid dup SUB_CLOSED events after disconnect
selftests: mptcp: check no dup close events after error
mptcp: only reset subflow errors when propagated
selftests: mptcp: check subflow errors in close events
selftests: mptcp: join: fix local endp not being tracked

net/mptcp/protocol.c | 13 ++--
tools/testing/selftests/net/mptcp/mptcp_join.sh | 81 ++++++++++++++++++++++---
2 files changed, 81 insertions(+), 13 deletions(-)
---
base-commit: e9acda52fd2ee0cdca332f996da7a95c5fd25294
change-id: 20260127-net-mptcp-dup-nl-events-64f970f274b0

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