Skip to content

mptcp: Connection and accounting fixes

Mat Martineau mptcp netdev 1 version Applied

Status from this message: This series was applied to netdev/net.git (refs/heads/master):

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 0 repliesApplied 6/6

Patches in v1 All 6 applied

#Subject and filesSizeRepliesApplied
1/6mptcp: fix warning in __skb_flow_dissect() when do syn cookie for subflow joinnet/mptcp/syncookies.c+15 -10 repliesApplied
2/6mptcp: remove redundant req destruct in subflow_check_req()net/mptcp/subflow.c+0 -50 repliesApplied
3/6mptcp: fix syncookie process if mptcp can not_accept new subflownet/mptcp/subflow.c+3 -30 repliesApplied
4/6mptcp: avoid processing packet if a subflow resetinclude/net/mptcp.h net/ipv4/tcp_input.c net/mptcp/options.c+31 -120 repliesApplied
5/6selftests: mptcp: fix case multiple subflows limited by servertools/testing/selftests/net/mptcp/mptcp_join.sh+1 -10 repliesApplied
6/6mptcp: properly account bulk freed memorynet/mptcp/mib.c net/mptcp/mib.h net/mptcp/protocol.c +1 more+18 -60 repliesApplied

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH net 0/6] mptcp: Connection and accounting fixes

Here are some miscellaneous fixes for MPTCP:

Patch 1 modifies an MPTCP hash so it doesn't depend on one of skb->dev and skb->sk being non-NULL.

Patch 2 removes an extra destructor call when rejecting a join due to port mismatch.

Patches 3 and 5 more cleanly handle error conditions with MP_JOIN and syncookies, and update a related self test.

Patch 4 makes sure packets that trigger a subflow TCP reset during MPTCP option header processing are correctly dropped.

Patch 6 addresses a rmem accounting issue that could keep packets in subflow receive buffers longer than necessary, delaying MPTCP-level ACKs.

Jianguo Wu (5):
mptcp: fix warning in __skb_flow_dissect() when do syn cookie for
subflow join
mptcp: remove redundant req destruct in subflow_check_req()
mptcp: fix syncookie process if mptcp can not_accept new subflow
mptcp: avoid processing packet if a subflow reset
selftests: mptcp: fix case multiple subflows limited by server

Paolo Abeni (1):
mptcp: properly account bulk freed memory

 include/net/mptcp.h                           |  5 +++--
 net/ipv4/tcp_input.c                          | 19 +++++++++++++++----
 net/mptcp/mib.c                               |  1 +
 net/mptcp/mib.h                               |  1 +
 net/mptcp/options.c                           | 19 +++++++++++++------
 net/mptcp/protocol.c                          | 12 +++++++-----
 net/mptcp/protocol.h                          | 10 +++++++++-
 net/mptcp/subflow.c                           | 11 +++--------
 net/mptcp/syncookies.c                        | 16 +++++++++++++++-
 .../testing/selftests/net/mptcp/mptcp_join.sh |  2 +-
 10 files changed, 68 insertions(+), 28 deletions(-)
Signature · 1 line
2.32.0