aboutsummaryrefslogtreecommitdiffstats
path: root/net/dccp/minisocks.c
diff options
context:
space:
mode:
authorGerrit Renker <gerrit@erg.abdn.ac.uk>2006-11-10 13:29:14 -0500
committerDavid S. Miller <davem@sunset.davemloft.net>2006-12-03 00:22:04 -0500
commitd83ca5accb256de1b44835cd222bfdc3207bd7dc (patch)
treec7be8b1f61d4403fe15bd279ecf9d52619134592 /net/dccp/minisocks.c
parentcf557926f6955b4c3fa55e81fdb3675e752e8eed (diff)
[DCCP]: Update code comments for Step 2/3
Sorts out the comments for processing steps 2,3 in section 8.5 of RFC 4340. All comments have been updated against this document, and the reference to step 2 has been made consistent throughout the files. Signed-off-by: Gerrit Renker <gerrit@erg.abdn.ac.uk> Signed-off-by: Arnaldo Carvalho de Melo <acme@mandriva.com>
Diffstat (limited to 'net/dccp/minisocks.c')
-rw-r--r--net/dccp/minisocks.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/net/dccp/minisocks.c b/net/dccp/minisocks.c
index 0f228ab5169d..d3de696fe4bf 100644
--- a/net/dccp/minisocks.c
+++ b/net/dccp/minisocks.c
@@ -98,8 +98,8 @@ struct sock *dccp_create_openreq_child(struct sock *sk,
98 /* 98 /*
99 * Step 3: Process LISTEN state 99 * Step 3: Process LISTEN state
100 * 100 *
101 * // Generate a new socket and switch to that socket 101 * (* Generate a new socket and switch to that socket *)
102 * Set S := new socket for this port pair 102 * Set S := new socket for this port pair
103 */ 103 */
104 struct sock *newsk = inet_csk_clone(sk, req, GFP_ATOMIC); 104 struct sock *newsk = inet_csk_clone(sk, req, GFP_ATOMIC);
105 105
@@ -148,9 +148,9 @@ out_free:
148 /* 148 /*
149 * Step 3: Process LISTEN state 149 * Step 3: Process LISTEN state
150 * 150 *
151 * Choose S.ISS (initial seqno) or set from Init Cookie 151 * Choose S.ISS (initial seqno) or set from Init Cookies
152 * Set S.ISR, S.GSR, S.SWL, S.SWH from packet or Init 152 * Initialize S.GAR := S.ISS
153 * Cookie 153 * Set S.ISR, S.GSR, S.SWL, S.SWH from packet or Init Cookies
154 */ 154 */
155 155
156 /* See dccp_v4_conn_request */ 156 /* See dccp_v4_conn_request */