aboutsummaryrefslogtreecommitdiffstats
path: root/net/dccp/ccids/ccid3.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/dccp/ccids/ccid3.c')
-rw-r--r--net/dccp/ccids/ccid3.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/net/dccp/ccids/ccid3.c b/net/dccp/ccids/ccid3.c
index 0804b3e435c8..145aafafe4e2 100644
--- a/net/dccp/ccids/ccid3.c
+++ b/net/dccp/ccids/ccid3.c
@@ -1100,11 +1100,9 @@ static int ccid3_hc_rx_init(struct sock *sk)
1100 hcrx->ccid3hcrx_state = TFRC_RSTATE_NO_DATA; 1100 hcrx->ccid3hcrx_state = TFRC_RSTATE_NO_DATA;
1101 INIT_LIST_HEAD(&hcrx->ccid3hcrx_hist); 1101 INIT_LIST_HEAD(&hcrx->ccid3hcrx_hist);
1102 INIT_LIST_HEAD(&hcrx->ccid3hcrx_li_hist); 1102 INIT_LIST_HEAD(&hcrx->ccid3hcrx_li_hist);
1103 /* 1103 do_gettimeofday(&hcrx->ccid3hcrx_tstamp_last_ack);
1104 * XXX this seems to be paranoid, need to think more about this, for 1104 hcrx->ccid3hcrx_tstamp_last_feedback = hcrx->ccid3hcrx_tstamp_last_ack;
1105 * now start with something different than zero. -acme 1105 hcrx->ccid3hcrx_rtt = 5000; /* XXX 5ms for now... */
1106 */
1107 hcrx->ccid3hcrx_rtt = USEC_PER_SEC / 5;
1108 return 0; 1106 return 0;
1109} 1107}
1110 1108