aboutsummaryrefslogtreecommitdiffstats
path: root/net/dccp/output.c
diff options
context:
space:
mode:
authorGerrit Renker <gerrit@erg.abdn.ac.uk>2007-12-13 09:38:11 -0500
committerDavid S. Miller <davem@davemloft.net>2008-01-28 17:57:52 -0500
commitaf3b867e2f6b72422bc7aacb1f1e26f47a9649bc (patch)
treec675b01b9f1ae5099ea0be7c13942f6e2a98a676 /net/dccp/output.c
parentb4d4f7c70fd3361c6c889752e08ea9be304cf5f4 (diff)
[DCCP]: Support inserting options during the 3-way handshake
This provides a separate routine to insert options during the initial handshake. The main purpose is to conduct feature negotiation, for the moment the only user is the timestamp echo needed for the (CCID3) handshake RTT sample. Padding of options has been put into a small separate routine, to be shared among the two functions. This could also be used as a generic routine to finish inserting options. Also removed an `XXX' comment since its content was obvious. Signed-off-by: Gerrit Renker <gerrit@erg.abdn.ac.uk> Signed-off-by: Ian McDonald <ian.mcdonald@jandi.co.nz> Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/dccp/output.c')
-rw-r--r--net/dccp/output.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/dccp/output.c b/net/dccp/output.c
index b2e17910930d..5589a5e581f4 100644
--- a/net/dccp/output.c
+++ b/net/dccp/output.c
@@ -303,7 +303,7 @@ struct sk_buff *dccp_make_response(struct sock *sk, struct dst_entry *dst,
303 DCCP_SKB_CB(skb)->dccpd_type = DCCP_PKT_RESPONSE; 303 DCCP_SKB_CB(skb)->dccpd_type = DCCP_PKT_RESPONSE;
304 DCCP_SKB_CB(skb)->dccpd_seq = dreq->dreq_iss; 304 DCCP_SKB_CB(skb)->dccpd_seq = dreq->dreq_iss;
305 305
306 if (dccp_insert_options(sk, skb)) { 306 if (dccp_insert_options_rsk(dreq, skb)) {
307 kfree_skb(skb); 307 kfree_skb(skb);
308 return NULL; 308 return NULL;
309 } 309 }