Bailing out early when we can: reset the fully established when a
fallback is done, then reject the MPJ earlier, and finally stop
processing connections early with the in-kernel PM. Plus two
refactoring patches.
Maybe the first patch should be backported? Eventually the second
and fourth ones if we find related issues? (That's why I put the
refactoring patches after.)
Signed-off-by: Matthieu Baerts (NGI0) <matttbe@kernel.org>
---
Changes in v2:
- patch 2: why the new racy check is OK, +ed, support old kernels & synC
- patch 3: new
- patch 4: safer approach
- patch 5: new
- Link to v1: https://patch.msgid.link/20260814-mptcp-reset-mpj-early-v1-0-3ca3260f9474@kernel.org
---
Matthieu Baerts (NGI0) (5):
mptcp: no longer fully_established after a fallback
mptcp: reject MP_JOIN earlier
mptcp: subflow: split subflow_check_req()
mptcp: pm: kernel: skip operating on closing connections
mptcp: pm: kernel: avoid mptcp_pm_is_userspace checks
net/mptcp/mib.c | 1 +
net/mptcp/mib.h | 1 +
net/mptcp/pm_kernel.c | 18 +-
net/mptcp/protocol.c | 1 +
net/mptcp/subflow.c | 210 +++++++++++++-----------
tools/testing/selftests/net/mptcp/mptcp_join.sh | 55 +++++--
6 files changed, 171 insertions(+), 115 deletions(-)
---
base-commit: bcc5638fabf418e763621a432840cf55287e604d
change-id: 20260814-mptcp-reset-mpj-early-dcc7d4d92df9
Best regards,
--
Matthieu Baerts (NGI0) <matttbe@kernel.org>