tcp: fix off-by-one bug in RACK
authorYuchung Cheng <ycheng@google.com>
Thu, 7 Dec 2017 19:33:32 +0000 (11:33 -0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 8 Dec 2017 19:14:11 +0000 (14:14 -0500)
commit428aec5e69fa17d223e1495f395833c50770f7ae
treec100aa3b176a3951c39a7a096e9e0b2ac5d25333
parentcd1fc85b4399d47e3d6626301741ba8c38cd475a
tcp: fix off-by-one bug in RACK

RACK should mark a packet lost when remaining wait time is zero.

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_recovery.c