]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - net/ipv4/tcp.c
tcp: switch rcv_rtt_est and rcvq_space to high resolution timestamps
[karo-tx-linux.git] / net / ipv4 / tcp.c
index efc976ae66ae5b82d496323634c3030fb71c6c92..059dad7deefe883bd3a26c93f27637dc22ccefda 100644 (file)
@@ -2853,7 +2853,7 @@ void tcp_get_info(struct sock *sk, struct tcp_info *info)
        info->tcpi_snd_ssthresh = tp->snd_ssthresh;
        info->tcpi_advmss = tp->advmss;
 
-       info->tcpi_rcv_rtt = jiffies_to_usecs(tp->rcv_rtt_est.rtt)>>3;
+       info->tcpi_rcv_rtt = tp->rcv_rtt_est.rtt_us >> 3;
        info->tcpi_rcv_space = tp->rcvq_space.space;
 
        info->tcpi_total_retrans = tp->total_retrans;