[PATCH net-next 0/4] mptcp: Fastclose edge cases and error handling

Mat Martineau posted 4 patches 3 years, 2 months ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/multipath-tcp/mptcp_net-next tags/patchew/20220930155934.404466-1-mathew.j.martineau@linux.intel.com
Maintainers: Mat Martineau <mathew.j.martineau@linux.intel.com>, Matthieu Baerts <matthieu.baerts@tessares.net>, "David S. Miller" <davem@davemloft.net>, Eric Dumazet <edumazet@google.com>, Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>, Shuah Khan <shuah@kernel.org>
net/mptcp/protocol.c                          | 124 ++++++++++++------
.../selftests/net/mptcp/mptcp_connect.c       |  65 +++++++--
.../testing/selftests/net/mptcp/mptcp_join.sh |  90 ++++++++++---
3 files changed, 217 insertions(+), 62 deletions(-)
[PATCH net-next 0/4] mptcp: Fastclose edge cases and error handling
Posted by Mat Martineau 3 years, 2 months ago
MPTCP has existing code to use the MP_FASTCLOSE option header, which
works like a RST for the MPTCP-level connection (regular RSTs only
affect specific subflows in MPTCP). This series has some improvements
for fastclose.

Patch 1 aligns fastclose socket error handling with TCP RST behavior on
TCP sockets.

Patch 2 adds use of MP_FASTCLOSE in some more edge cases, like file
descriptor close, FIN_WAIT timeout, and when the socket has unread data.

Patch 3 updates the fastclose self tests.

Patch 4 does not change any code, just fixes some outdated comments.

Paolo Abeni (4):
  mptcp: propagate fastclose error
  mptcp: use fastclose on more edge scenarios
  selftests: mptcp: update and extend fastclose test-cases
  mptcp: update misleading comments.

 net/mptcp/protocol.c                          | 124 ++++++++++++------
 .../selftests/net/mptcp/mptcp_connect.c       |  65 +++++++--
 .../testing/selftests/net/mptcp/mptcp_join.sh |  90 ++++++++++---
 3 files changed, 217 insertions(+), 62 deletions(-)


base-commit: 0f5ef005310d4820926c76bc1e94d4d2a0e49d97
-- 
2.37.3