From: Yuchung Cheng Date: Thu, 5 Sep 2013 22:36:09 +0000 (-0700) Subject: tcp: fix no cwnd growth after timeout X-Git-Tag: v3.12-rc1~109^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=16edfe7ee02dd7fcc13855ea19158333529533b2;p=pandora-kernel.git tcp: fix no cwnd growth after timeout In commit 0f7cc9a3 "tcp: increase throughput when reordering is high", it only allows cwnd to increase in Open state. This mistakenly disables slow start after timeout (CA_Loss). Moreover cwnd won't grow if the state moves from Disorder to Open later in tcp_fastretrans_alert(). Therefore the correct logic should be to allow cwnd to grow as long as the data is received in order in Open, Loss, or even Disorder state. Signed-off-by: Yuchung Cheng Acked-by: Neal Cardwell Signed-off-by: David S. Miller --- Reading git-diff-tree failed