tcp: a small refactor of RACK loss detection
authorYuchung Cheng <ycheng@google.com>
Wed, 4 Oct 2017 20:00:00 +0000 (13:00 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 6 Oct 2017 04:24:47 +0000 (21:24 -0700)
commitbef06223083b81d2064824afe2bc85be416ab73a
treecb70c1552a2c58cc5b8f63bd8e85b7fdc3b33497
parent043b87d7599ed8e86a33f4cbc3f062d57e263711
tcp: a small refactor of RACK loss detection

Refactor the RACK loop to improve readability and speed up the checks.

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