[PATCH net-next 0/7] mptcp: Timeout for MP_FAIL response

Mat Martineau posted 7 patches 3 years, 4 months ago
Failed in applying to current master (apply log)
net/mptcp/pm.c                                |  18 ++-
net/mptcp/protocol.c                          |  64 +++++++++-
net/mptcp/protocol.h                          |   2 +
net/mptcp/subflow.c                           |  13 ++
tools/testing/selftests/net/mptcp/config      |   8 ++
.../testing/selftests/net/mptcp/mptcp_join.sh | 119 +++++++++++++++++-
6 files changed, 216 insertions(+), 8 deletions(-)
[PATCH net-next 0/7] mptcp: Timeout for MP_FAIL response
Posted by Mat Martineau 3 years, 4 months ago
When one peer sends an infinite mapping to coordinate fallback from
MPTCP to regular TCP, the other peer is expected to send a packet with
the MPTCP MP_FAIL option to acknowledge the infinite mapping. Rather
than leave the connection in some half-fallback state, this series adds
a timeout after which the infinite mapping sender will reset the
connection.

Patch 1 adds a fallback self test.

Patches 2-5 make use of the MPTCP socket's retransmit timer to reset the
MPTCP connection if no MP_FAIL was received.

Patches 6 and 7 extends the self test to check MP_FAIL-related MIBs.

Geliang Tang (7):
  selftests: mptcp: add infinite map testcase
  mptcp: use mptcp_stop_timer
  mptcp: add data lock for sk timers
  mptcp: add MP_FAIL response support
  mptcp: reset subflow when MP_FAIL doesn't respond
  selftests: mptcp: check MP_FAIL response mibs
  selftests: mptcp: print extra msg in chk_csum_nr

 net/mptcp/pm.c                                |  18 ++-
 net/mptcp/protocol.c                          |  64 +++++++++-
 net/mptcp/protocol.h                          |   2 +
 net/mptcp/subflow.c                           |  13 ++
 tools/testing/selftests/net/mptcp/config      |   8 ++
 .../testing/selftests/net/mptcp/mptcp_join.sh | 119 +++++++++++++++++-
 6 files changed, 216 insertions(+), 8 deletions(-)


base-commit: 561215482cc69d1c758944d4463b3d5d96d37bd1
-- 
2.36.0