: Support for passive close
Get series with b4
b4 am 200707121520.48349@strip-the-willowVersions newest first
- v1 Latest10 patches 7 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/10 | : Separate protocol states into general/specificinclude/ | +3 | 0 replies | |
| 2/10 | : Make PARTOPEN an autonomous stateinclude/ | +2 | 0 replies | |
| 3/10 | : Dedicated auxiliary states to support passive-closeinclude/ net/ | +24 | 4 replies | |
| 4/10 | : Basic support for passive-closeinclude/ net/ net/ | +102 | 0 replies | |
| 5/10 | : Perform SHUT_RD and SHUT_WR on receiving closenet/ | +15 | 0 replies | |
| 6/10 | : Reduce the number of writable statesnet/ | +1 | 0 replies | |
| 7/10 | : Shift the retransmit timer for active-close into output.cnet/ net/ | +10 | 0 replies | |
| 8/10 | : Use maximum-RTO backoff from DCCP specnet/ | +8 | 0 replies | |
| 9/10 | : Support for server holding timewait stateDocumentation/ include/ net/ +1 more | +25 | 0 replies | |
| 10/10 | : Collapse repeated `len' statements into onenet/ | +1 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/10]: Support for passive close
I am sending the last two batches in my current patch set; both are concerned with ensuring correct behaviour on closing a DCCP connection. This requires the use of intermediate states, details are described on
http://www.erg.abdn.ac.uk/users/gerrit/dccp/notes/closing_states/
Patch #1: Separates the list of DCCP protocol states into connection-oriented generic
states and DCCP-specific states.
Patch #2: Makes PARTOPEN autonomous (addressing a FIXME in the list of states).
Patch #3: Introduces the two dedicated intermediate/auxiliary states
PASSIVE_1 and PASSIVE_2, which are the basis of the entire patch set (cf. url).
Patch #4: Implements the basic state transitions featuring PASSIVE_1/2.
Patch #5: DCCP does not support half-close (RFC 4340), thus this patch performs SHUT_WR in
addition to SHUT_RD (as done previously).
Patch #6: Is analogous to patch #5: since DCCP does not support half-close, the state
DCCPF_CLOSING is removed in the opening statement of dccp_sendmsg().
Patch #7: Shifts the retransmit timer for active-close into output.c and uses the RFC 4340
fallback RTT value to set the timeout.
Patch #8: Realises the maximum-RTO backoff from the DCCP specification.
Patch #9: Implements support for Server holding TIMEWAIT state as per RFC 4340, 8.3.
Patch #10: Collapses 4 repeated statements of the same kind into one.
I will send the other part, which concerns aborting a connection, tomorrow.