Exchange MPTCP DATA_FIN/DATA_ACK before TCP FIN
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest12 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/12 | mptcp: Allow DATA_FIN in headers without TCP FINnet/ | +3 | 0 replies | |
| 2/12 | mptcp: Return EPIPE if sending is shut down during a sendmsgnet/ | +5 | 0 replies | |
| 3/12 | mptcp: Remove outdated and incorrect commentnet/ | +0 | 0 replies | |
| 4/12 | mptcp: Use MPTCP-level flag for sending DATA_FINnet/ net/ net/ | +18 | 0 replies | |
| 5/12 | mptcp: Track received DATA_FIN sequence number and add related helpersnet/ net/ net/ | +115 | 0 replies | |
| 6/12 | mptcp: Add mptcp_close_state() helpernet/ | +27 | 0 replies | |
| 7/12 | mptcp: Add helper to process acks of DATA_FINnet/ | +46 | 0 replies | |
| 8/12 | mptcp: Use full MPTCP-level disconnect state machinenet/ net/ net/ | +92 | 0 replies | |
| 9/12 | mptcp: Only use subflow EOF signaling on fallback connectionsnet/ | +2 | 0 replies | |
| 10/12 | mptcp: Skip unnecessary skb extension allocation for bare acksnet/ | +6 | 0 replies | |
| 11/12 | mptcp: Safely read sequence number when lock isn't heldnet/ | +1 | 0 replies | |
| 12/12 | mptcp: Safely store sequence number when sending datanet/ | +1 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH net-next 00/12] Exchange MPTCP DATA_FIN/DATA_ACK before TCP FIN
This series allows the MPTCP-level connection to be closed with the peers exchanging DATA_FIN and DATA_ACK according to the state machine in appendix D of RFC 8684. The process is very similar to the TCP disconnect state machine.
The prior code sends DATA_FIN only when TCP FIN packets are sent, and does not allow for the MPTCP-level connection to be half-closed.
Patch 8 ("mptcp: Use full MPTCP-level disconnect state machine") is the core of the series. Earlier patches in the series have some small fixes and helpers in preparation, and the final four small patches do some cleanup.
Mat Martineau (12):
mptcp: Allow DATA_FIN in headers without TCP FIN
mptcp: Return EPIPE if sending is shut down during a sendmsg
mptcp: Remove outdated and incorrect comment
mptcp: Use MPTCP-level flag for sending DATA_FIN
mptcp: Track received DATA_FIN sequence number and add related helpers
mptcp: Add mptcp_close_state() helper
mptcp: Add helper to process acks of DATA_FIN
mptcp: Use full MPTCP-level disconnect state machine
mptcp: Only use subflow EOF signaling on fallback connections
mptcp: Skip unnecessary skb extension allocation for bare acks
mptcp: Safely read sequence number when lock isn't held
mptcp: Safely store sequence number when sending data
net/mptcp/options.c | 57 +++++++-- net/mptcp/protocol.c | 295 ++++++++++++++++++++++++++++++++++++------- net/mptcp/protocol.h | 6 +- net/mptcp/subflow.c | 14 +- 4 files changed, 306 insertions(+), 66 deletions(-)
base-commit: 0003041e7a0bf24594e5d66fe217bbbefdac44ab
Signature · 1 line
2.28.0