aboutsummaryrefslogtreecommitdiffstats
path: root/net/dccp
diff options
context:
space:
mode:
authorGerrit Renker <gerrit@erg.abdn.ac.uk>2007-12-08 13:26:59 -0500
committerDavid S. Miller <davem@davemloft.net>2008-01-28 17:57:04 -0500
commit385ac2e3f226c09cb71733df1899658e33a7850f (patch)
treed3b9754ec75c550b784ef51ab02b25e00aa70c34 /net/dccp
parent797eba424d4332f6aff5b741600b61e3d4b3d3f2 (diff)
[CCID3]: HC-receiver should not insert timestamps as HC-sender doesn't uses it
Signed-off-by: Gerrit Renker <gerrit@erg.abdn.ac.uk> Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/dccp')
-rw-r--r--net/dccp/ccids/ccid3.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/net/dccp/ccids/ccid3.c b/net/dccp/ccids/ccid3.c
index bf95c3292d5b..f8644bfd88fb 100644
--- a/net/dccp/ccids/ccid3.c
+++ b/net/dccp/ccids/ccid3.c
@@ -750,8 +750,7 @@ static int ccid3_hc_rx_insert_options(struct sock *sk, struct sk_buff *skb)
750 x_recv = htonl(hcrx->ccid3hcrx_x_recv); 750 x_recv = htonl(hcrx->ccid3hcrx_x_recv);
751 pinv = htonl(hcrx->ccid3hcrx_pinv); 751 pinv = htonl(hcrx->ccid3hcrx_pinv);
752 752
753 if (dccp_insert_option_timestamp(sk, skb) || 753 if (dccp_insert_option(sk, skb, TFRC_OPT_LOSS_EVENT_RATE,
754 dccp_insert_option(sk, skb, TFRC_OPT_LOSS_EVENT_RATE,
755 &pinv, sizeof(pinv)) || 754 &pinv, sizeof(pinv)) ||
756 dccp_insert_option(sk, skb, TFRC_OPT_RECEIVE_RATE, 755 dccp_insert_option(sk, skb, TFRC_OPT_RECEIVE_RATE,
757 &x_recv, sizeof(x_recv))) 756 &x_recv, sizeof(x_recv)))