]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
tcp: cdg: use tcp high resolution clock cache
authorEric Dumazet <edumazet@google.com>
Mon, 15 Oct 2018 16:37:58 +0000 (09:37 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 16 Oct 2018 05:56:42 +0000 (22:56 -0700)
commit825e1c523d5000f067a1614e4a66bb282a2d373c
tree0e00bed799a56fb60c399ae94816018a0213e476
parent97ec3eb33dd300764ca5fa8923e5430dc4dbac13
tcp: cdg: use tcp high resolution clock cache

We store in tcp socket a cache of most recent high resolution
clock, there is no need to call local_clock() again, since
this cache is good enough.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/tcp_cdg.c