mbox series

[net,0/6] mptcp: Connection and accounting fixes

Message ID 20210710002051.216010-1-mathew.j.martineau@linux.intel.com
Headers show
Series mptcp: Connection and accounting fixes | expand

Message

Mat Martineau July 10, 2021, 12:20 a.m. UTC
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(-)