tcp: more accurately detect spurious TLP probes
authorYuchung Cheng <ycheng@google.com>
Tue, 27 Jul 2021 14:42:57 +0000 (10:42 -0400)
committerDavid S. Miller <davem@davemloft.net>
Tue, 27 Jul 2021 19:07:21 +0000 (20:07 +0100)
commit63f367d9de77b30f58722c1be9e334fb0f5f342d
tree5874aa7670d338a36e65619d7e5400be0d22ee81
parent409f386b8e5d69ba5b13bb94618b6b668a7a3736
tcp: more accurately detect spurious TLP probes

Previously TLP is considered spurious if the sender receives any
DSACK during a TLP episode. This patch further checks the DSACK
sequences match the TLP's to improve accuracy.

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