]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita1f8e2c761025b3b773bb41ec1ef9c2e933313a4
treec100aa3b176a3951c39a7a096e9e0b2ac5d25333
parent69f9585ce0c42e6e8e0fba73329d0206fdd80dd5
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