Skip to content

mptcp: Fastclose edge cases and error handling

Mat Martineau mptcp netdev 1 version Applied

Status from this message: This series was applied to netdev/net-next.git (master)

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 0 repliesApplied 4/4

Patches in v1 All 4 applied

#Subject and filesSizeRepliesApplied
1/4mptcp: propagate fastclose errornet/mptcp/protocol.c+36 -110 repliesApplied
2/4mptcp: use fastclose on more edge scenariosnet/mptcp/protocol.c+44 -190 repliesApplied
3/4selftests: mptcp: update and extend fastclose test-casestools/testing/selftests/net/mptcp/mptcp_connect.c tools/testing/selftests/net/mptcp/mptcp_join.sh+130 -250 repliesApplied
4/4mptcp: update misleading comments.net/mptcp/protocol.c+7 -70 repliesApplied

Reviews trailers per patch

All 4 patches have a Reviewed-by or Acked-by.

PatchMatthieu BaertsMat Martineau
1/4R-b R-b
2/4R-b R-b
3/4R-b R-b
4/4R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

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

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

Signature · 1 line
2.37.3