tcp: make congestion control more robust against reordering
authorYuchung Cheng <ycheng@google.com>
Tue, 2 Feb 2016 18:33:08 +0000 (10:33 -0800)
committerDavid S. Miller <davem@davemloft.net>
Sun, 7 Feb 2016 19:09:51 +0000 (14:09 -0500)
commit2d14a4def4fc87cb2d2712f7841b45189d75e301
tree8e5f7990136533c684af4243a2da66a233f72721
parent3ebd88710584d494b670e54b2c339e3be290956c
tcp: make congestion control more robust against reordering

This change enables congestion control to update cwnd based on
not only packet cumulatively acked but also packets delivered
out-of-order. This makes congestion control robust against packet
reordering because it may raise cwnd as long as packets are being
delivered once reordering has been detected (i.e., it only cares
the amount of packets delivered, not the ordering among them).

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