]> git.baikalelectronics.ru Git - kernel.git/commit
tcp: always evaluate losses in RACK upon undo
authorYuchung Cheng <ycheng@google.com>
Thu, 7 Dec 2017 19:33:31 +0000 (11:33 -0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 8 Dec 2017 19:14:11 +0000 (14:14 -0500)
commit69f9585ce0c42e6e8e0fba73329d0206fdd80dd5
tree86125c235e1df3c21686d6c4625f47d1b6ce20e3
parent662f72ed40b3d93d68c97a51ba0e1617c860d5ee
tcp: always evaluate losses in RACK upon undo

When sender detects spurious retransmission, all packets
marked lost are remarked to be in-flight. However some may
be considered lost based on its timestamps in RACK. This patch
forces RACK to re-evaluate, which may be skipped previously if
the ACK does not advance RACK timestamp.

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