All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH mptcp-next v2 0/4] mptcp: improve subflow creation on errors
@ 2021-11-24 16:22 Paolo Abeni
  2021-11-24 16:22 ` [PATCH mptcp-next v2 1/4] mptcp: clean-up MPJ option writing Paolo Abeni
                   ` (3 more replies)
  0 siblings, 4 replies; 13+ messages in thread
From: Paolo Abeni @ 2021-11-24 16:22 UTC (permalink / raw)
  To: mptcp; +Cc: Phil Greenland

Currently when a subflow connection fails - either the TCP
connection is reset by the peer, or the MPJ handshake never
completes - the in kernel PM don't perform any further action.
Notably no additional subflow creation is attempted.

This series is aimed at improving the in-kernel path manager
behavior in the above scenario:
- each endpoint is used only once per connection (patch 2/4)
- on failure we try to move to the next subflow, if any
  (patch 3/4)

The first patch is minor cleanup, and the last patch adds
specific self-tests.

This should address/close:
https://github.com/multipath-tcp/mptcp_net-next/issues/235
https://github.com/multipath-tcp/mptcp_net-next/issues/242

@Phil: could you please have a spin in your testbed? this
should really cover your use case for good - modulo bugs

Paolo Abeni (4):
  mptcp: clean-up MPJ option writing.
  mptcp: keep track of used local endpoint
  mptcp: do not block subflows creation on errors
  selftests: mptcp: add tests for subflow creation failure

 net/mptcp/options.c                           | 65 ++++++++++++-------
 net/mptcp/pm.c                                | 29 +++++++++
 net/mptcp/pm_netlink.c                        |  8 ++-
 net/mptcp/protocol.c                          |  6 ++
 net/mptcp/protocol.h                          |  5 +-
 net/mptcp/subflow.c                           |  5 +-
 tools/testing/selftests/net/mptcp/config      |  1 +
 .../testing/selftests/net/mptcp/mptcp_join.sh | 65 ++++++++++++++++++-
 8 files changed, 156 insertions(+), 28 deletions(-)

-- 
2.33.1


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

end of thread, other threads:[~2021-11-25  8:28 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-11-24 16:22 [PATCH mptcp-next v2 0/4] mptcp: improve subflow creation on errors Paolo Abeni
2021-11-24 16:22 ` [PATCH mptcp-next v2 1/4] mptcp: clean-up MPJ option writing Paolo Abeni
2021-11-24 16:22 ` [PATCH mptcp-next v2 2/4] mptcp: keep track of used local endpoint Paolo Abeni
2021-11-24 16:22 ` [PATCH mptcp-next v2 3/4] mptcp: do not block subflows creation on errors Paolo Abeni
2021-11-24 22:52   ` kernel test robot
2021-11-24 22:52     ` kernel test robot
2021-11-25  8:28     ` Paolo Abeni
2021-11-25  8:28       ` Paolo Abeni
2021-11-25  2:25   ` kernel test robot
2021-11-25  2:25     ` kernel test robot
2021-11-24 16:22 ` [PATCH mptcp-next v2 4/4] selftests: mptcp: add tests for subflow creation failure Paolo Abeni
2021-11-24 20:21   ` selftests: mptcp: add tests for subflow creation failure: Build Failure MPTCP CI
2021-11-24 23:01   ` MPTCP CI

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.