Skip to content

: Support for passive close

Gerrit Renker dccp 1 version In review

Get series with b4
b4 am 200707121520.48349@strip-the-willow

Versions newest first

  1. v1 Latest10 patches 7 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/10: Separate protocol states into general/specificinclude/linux/dccp.h+3 -10 replies
2/10: Make PARTOPEN an autonomous stateinclude/linux/dccp.h+2 -100 replies
3/10: Dedicated auxiliary states to support passive-closeinclude/linux/dccp.h net/dccp/proto.c+24 -14 replies
4/10: Basic support for passive-closeinclude/linux/dccp.h net/dccp/input.c net/dccp/proto.c+102 -410 replies
5/10: Perform SHUT_RD and SHUT_WR on receiving closenet/dccp/input.c+15 -70 replies
6/10: Reduce the number of writable statesnet/dccp/proto.c+1 -10 replies
7/10: Shift the retransmit timer for active-close into output.cnet/dccp/output.c net/dccp/proto.c+10 -190 replies
8/10: Use maximum-RTO backoff from DCCP specnet/dccp/dccp.h+8 -10 replies
9/10: Support for server holding timewait stateDocumentation/networking/dccp.txt include/linux/dccp.h net/dccp/output.c +1 more+25 -30 replies
10/10: Collapse repeated `len' statements into onenet/dccp/proto.c+1 -40 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

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.