tcp: uses jiffies_32 to feed tp->chrono_start
tcp_time_stamp will no longer be tied to jiffies. Signed-off-by: Eric Dumazet <edumazet@google.com> Acked-by: Soheil Hassas Yeganeh <soheil@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:

committed by
David S. Miller

parent
c74df29a8d
commit
628174ccc4
@@ -2202,7 +2202,7 @@ static bool tcp_small_queue_check(struct sock *sk, const struct sk_buff *skb,
|
||||
|
||||
static void tcp_chrono_set(struct tcp_sock *tp, const enum tcp_chrono new)
|
||||
{
|
||||
const u32 now = tcp_time_stamp;
|
||||
const u32 now = tcp_jiffies32;
|
||||
|
||||
if (tp->chrono_type > TCP_CHRONO_UNSPEC)
|
||||
tp->chrono_stat[tp->chrono_type - 1] += now - tp->chrono_start;
|
||||
|
Reference in New Issue
Block a user