]> git.baikalelectronics.ru Git - kernel.git/commit
tcp: Fix SOF_TIMESTAMPING_RX_HARDWARE to use the latest timestamp during TCP coalescing
authorStephen Mallon <stephen.mallon@sydney.edu.au>
Tue, 20 Nov 2018 08:15:02 +0000 (19:15 +1100)
committerDavid S. Miller <davem@davemloft.net>
Tue, 20 Nov 2018 18:32:11 +0000 (10:32 -0800)
commitd637319aefea50720028a60993b6bf1ed6bb54de
tree00e376aa0bc788a78b3c12242d914c0aeeccea8f
parentc610b36219cd1aa7476c1caf1127cfb835f96624
tcp: Fix SOF_TIMESTAMPING_RX_HARDWARE to use the latest timestamp during TCP coalescing

During tcp coalescing ensure that the skb hardware timestamp refers to the
highest sequence number data.
Previously only the software timestamp was updated during coalescing.

Signed-off-by: Stephen Mallon <stephen.mallon@sydney.edu.au>
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/tcp_input.c