[PATCH net-next v2 0/5] mptcp: out-of-order queue pruning

From: Matthieu Baerts (NGI0)

Date: Fri Jul 31 2026 - 10:30:57 EST


Under memory pressure, a pruning of the MPTCP-level OoO queue might be
required as last resort, to avoid too long recoveries, or even stalls.
Geliang and Gang managed to reproduce this behaviour, and Paolo
improved the situation thanks to the following patches:

- Patches 1-2: improve the MPTCP-level retransmission schema to make
recoveries from memory pressure/after MPTCP-level drop significantly
faster.

- Patches 3-4: make the admission check way stricter for incoming
packets exceeding the memory limits, with some exceptions for fallback
sockets.

- Patch 5: implement OoO queue pruning for MPTCP.

Signed-off-by: Matthieu Baerts (NGI0) <matttbe@xxxxxxxxxx>
---
Changes in v2:
- Address comments from Clashiko.
- Patch 3: typo, comment, bump TCP MIB counter.
- Patch 5: uniform MIB counter name.
- Rebased.
- Link to v1: https://patch.msgid.link/20260724-net-next-mptcp-oooq-pruning-v1-0-5dd4dec63a54@xxxxxxxxxx

---
Paolo Abeni (5):
mptcp: move the retrans loop to a separate helper
mptcp: let the retrans scheduler do its job
mptcp: explicitly drop over memory limits
mptcp: enforce hard limit on backlog flushing
mptcp: implemented OoO queue pruning

net/mptcp/mib.c | 3 +
net/mptcp/mib.h | 3 +
net/mptcp/options.c | 32 ++++++-
net/mptcp/protocol.c | 251 +++++++++++++++++++++++++++++++++++++--------------
4 files changed, 219 insertions(+), 70 deletions(-)
---
base-commit: 2fbade66245059c78daeaccfce13ecf499fffb51
change-id: 20260724-net-next-mptcp-oooq-pruning-48566d10dbd0

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