diff options
Diffstat (limited to 'net/dccp/ccids')
-rw-r--r-- | net/dccp/ccids/ccid3.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/net/dccp/ccids/ccid3.c b/net/dccp/ccids/ccid3.c index 7017d84a381d..7618d51aa2d2 100644 --- a/net/dccp/ccids/ccid3.c +++ b/net/dccp/ccids/ccid3.c | |||
@@ -617,6 +617,7 @@ static int ccid3_hc_tx_init(struct ccid *ccid, struct sock *sk) | |||
617 | struct ccid3_hc_tx_sock *hctx = ccid_priv(ccid); | 617 | struct ccid3_hc_tx_sock *hctx = ccid_priv(ccid); |
618 | 618 | ||
619 | hctx->ccid3hctx_s = 0; | 619 | hctx->ccid3hctx_s = 0; |
620 | hctx->ccid3hctx_rtt = 0; | ||
620 | hctx->ccid3hctx_state = TFRC_SSTATE_NO_SENT; | 621 | hctx->ccid3hctx_state = TFRC_SSTATE_NO_SENT; |
621 | INIT_LIST_HEAD(&hctx->ccid3hctx_hist); | 622 | INIT_LIST_HEAD(&hctx->ccid3hctx_hist); |
622 | 623 | ||
@@ -1093,7 +1094,7 @@ static int ccid3_hc_rx_init(struct ccid *ccid, struct sock *sk) | |||
1093 | dccp_timestamp(sk, &hcrx->ccid3hcrx_tstamp_last_ack); | 1094 | dccp_timestamp(sk, &hcrx->ccid3hcrx_tstamp_last_ack); |
1094 | hcrx->ccid3hcrx_tstamp_last_feedback = hcrx->ccid3hcrx_tstamp_last_ack; | 1095 | hcrx->ccid3hcrx_tstamp_last_feedback = hcrx->ccid3hcrx_tstamp_last_ack; |
1095 | hcrx->ccid3hcrx_s = 0; | 1096 | hcrx->ccid3hcrx_s = 0; |
1096 | hcrx->ccid3hcrx_rtt = 5000; /* XXX 5ms for now... */ | 1097 | hcrx->ccid3hcrx_rtt = 0; |
1097 | return 0; | 1098 | return 0; |
1098 | } | 1099 | } |
1099 | 1100 | ||