]> git.baikalelectronics.ru Git - kernel.git/commit
tcp: better SYNACK sent timestamp
authorYuchung Cheng <ycheng@google.com>
Mon, 29 Apr 2019 22:46:15 +0000 (15:46 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 1 May 2019 15:47:54 +0000 (11:47 -0400)
commitd4f0cc9ee4cb96981448ccf363cb1b53aca9ec0f
treef399effe5bad9cdffefb6485555f269016233c71
parent56fef42d83ae99dd538713d6e6138d80f1caa135
tcp: better SYNACK sent timestamp

Detecting spurious SYNACK timeout using timestamp option requires
recording the exact SYNACK skb timestamp. Previously the SYNACK
sent timestamp was stamped slightly earlier before the skb
was transmitted. This patch uses the SYNACK skb transmission
timestamp directly.

Signed-off-by: Yuchung Cheng <ycheng@google.com>
Signed-off-by: Neal Cardwell <ncardwell@google.com>
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/tcp_input.c
net/ipv4/tcp_output.c