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