aboutsummaryrefslogtreecommitdiffstats
path: root/net/dccp/options.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/dccp/options.c')
-rw-r--r--net/dccp/options.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/net/dccp/options.c b/net/dccp/options.c
index 9074ca7977b2..14b621227323 100644
--- a/net/dccp/options.c
+++ b/net/dccp/options.c
@@ -563,6 +563,14 @@ int dccp_insert_options(struct sock *sk, struct sk_buff *skb)
563 dccp_insert_options_feat(sk, skb)) 563 dccp_insert_options_feat(sk, skb))
564 return -1; 564 return -1;
565 565
566 /*
567 * Obtain RTT sample from Request/Response exchange.
568 * This is currently used in CCID 3 initialisation.
569 */
570 if (DCCP_SKB_CB(skb)->dccpd_type == DCCP_PKT_REQUEST &&
571 dccp_insert_option_timestamp(sk, skb))
572 return -1;
573
566 /* XXX: insert other options when appropriate */ 574 /* XXX: insert other options when appropriate */
567 575
568 if (DCCP_SKB_CB(skb)->dccpd_opt_len != 0) { 576 if (DCCP_SKB_CB(skb)->dccpd_opt_len != 0) {