]> www.infradead.org Git - users/jedix/linux-maple.git/commit
tcp: don't use F-RTO on non-recurring timeouts
authorYuchung Cheng <ycheng@google.com>
Mon, 13 Jul 2015 19:10:20 +0000 (12:10 -0700)
committerBrian Maly <brian.maly@oracle.com>
Tue, 8 May 2018 19:41:19 +0000 (15:41 -0400)
commit0c0dfdb21a331203ec7988a1f043c8f523457ad3
tree21c302ca8de353bea4f9256cb0e9c75aa5a2022a
parent270e365f1736d4f70719199997bbbd8ba6afb81e
tcp: don't use F-RTO on non-recurring timeouts

Currently F-RTO may repeatedly send new data packets on non-recurring
timeouts in CA_Loss mode. This is a bug because F-RTO (RFC5682)
should only be used on either new recovery or recurring timeouts.

This exacerbates the recovery progress during frequent timeout &
repair, because we prioritize sending new data packets instead of
repairing the holes when the bandwidth is already scarce.

Fix it by correcting the test of a new recovery episode.

Orabug: 27901860

Signed-off-by: Yuchung Cheng <ycheng@google.com>
Signed-off-by: Neal Cardwell <ncardwell@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
(cherry picked from commit f82b681a511f4d61069e9586a9cf97bdef371ef3)

Reviewed-by: Hakon Bugge <haakon.bugge@oracle.com>
Signed-off-by: Venkat Venkatsubra <venkat.x.venkatsubra@oracle.com>
Signed-off-by: Brian Maly <brian.maly@oracle.com>
net/ipv4/tcp_input.c