MPTCP Linux Development
 help / color / mirror / Atom feed
* [PATCH net-next 0/7] mptcp: Timeout for MP_FAIL response
@ 2022-04-26 21:57 Mat Martineau
  2022-04-26 21:57 ` [PATCH net-next 1/7] selftests: mptcp: add infinite map testcase Mat Martineau
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: Mat Martineau @ 2022-04-26 21:57 UTC (permalink / raw)
  To: netdev; +Cc: Mat Martineau, davem, kuba, pabeni, matthieu.baerts, mptcp

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


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2022-04-27  9:50 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-04-26 21:57 [PATCH net-next 0/7] mptcp: Timeout for MP_FAIL response Mat Martineau
2022-04-26 21:57 ` [PATCH net-next 1/7] selftests: mptcp: add infinite map testcase Mat Martineau
2022-04-26 21:57 ` [PATCH net-next 2/7] mptcp: use mptcp_stop_timer Mat Martineau
2022-04-26 21:57 ` [PATCH net-next 3/7] mptcp: add data lock for sk timers Mat Martineau
2022-04-26 21:57 ` [PATCH net-next 4/7] mptcp: add MP_FAIL response support Mat Martineau
2022-04-26 21:57 ` [PATCH net-next 5/7] mptcp: reset subflow when MP_FAIL doesn't respond Mat Martineau
2022-04-26 21:57 ` [PATCH net-next 6/7] selftests: mptcp: check MP_FAIL response mibs Mat Martineau
2022-04-26 21:57 ` [PATCH net-next 7/7] selftests: mptcp: print extra msg in chk_csum_nr Mat Martineau
2022-04-27  9:50 ` [PATCH net-next 0/7] mptcp: Timeout for MP_FAIL response patchwork-bot+netdevbpf

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox