]> git.ipfire.org Git - people/arne_f/kernel.git/commit
tcp: use tp->tcp_mstamp in output path
authorEric Dumazet <edumazet@google.com>
Tue, 16 May 2017 21:00:00 +0000 (14:00 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 17 May 2017 20:06:01 +0000 (16:06 -0400)
commit385e20706facd376f27863bd55b7cc7720d3f27b
treeb3e6e53158d3348cd6d6b7b473adfe2f1c5a8d6c
parent9d4f97f97bb8adc47f569d995402c33de9a4fa19
tcp: use tp->tcp_mstamp in output path

Idea is to later convert tp->tcp_mstamp to a full u64 counter
using usec resolution, so that we can later have fine
grained TCP TS clock (RFC 7323), regardless of HZ value.

We try to refresh tp->tcp_mstamp only when necessary.

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>
net/ipv4/tcp_ipv4.c
net/ipv4/tcp_output.c
net/ipv4/tcp_recovery.c
net/ipv4/tcp_timer.c