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)
commitcd1fc85b4399d47e3d6626301741ba8c38cd475a
tree86125c235e1df3c21686d6c4625f47d1b6ce20e3
parent0ce294d88457bccd7f9991f883fec80022a1ddbd
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