]> 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)
commit3374e514dcf7b431ffd25e259d97c387197adfe5
treef399effe5bad9cdffefb6485555f269016233c71
parent17999550df40564bbf0255ef9f82347698c39310
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