summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--net/ipv4/tcp_cdg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/tcp_cdg.c b/net/ipv4/tcp_cdg.c
index 06fbe102a425..37eebd910396 100644
--- a/net/ipv4/tcp_cdg.c
+++ b/net/ipv4/tcp_cdg.c
@@ -146,7 +146,7 @@ static void tcp_cdg_hystart_update(struct sock *sk)
146 return; 146 return;
147 147
148 if (hystart_detect & HYSTART_ACK_TRAIN) { 148 if (hystart_detect & HYSTART_ACK_TRAIN) {
149 u32 now_us = div_u64(local_clock(), NSEC_PER_USEC); 149 u32 now_us = tp->tcp_mstamp;
150 150
151 if (ca->last_ack == 0 || !tcp_is_cwnd_limited(sk)) { 151 if (ca->last_ack == 0 || !tcp_is_cwnd_limited(sk)) {
152 ca->last_ack = now_us; 152 ca->last_ack = now_us;