From: Yuchung Cheng Date: Mon, 30 Apr 2012 06:00:18 +0000 (+0000) Subject: tcp: fix infinite cwnd in tcp_complete_cwr() X-Git-Tag: v3.4-rc6~23^2~22 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1cebce36d660c83bd1353e41f3e66abd4686f215;p=pandora-kernel.git tcp: fix infinite cwnd in tcp_complete_cwr() When the cwnd reduction is done, ssthresh may be infinite if TCP enters CWR via ECN or F-RTO. If cwnd is not undone, i.e., undo_marker is set, tcp_complete_cwr() falsely set cwnd to the infinite ssthresh value. The correct operation is to keep cwnd intact because it has been updated in ECN or F-RTO. Signed-off-by: Yuchung Cheng Acked-by: Neal Cardwell Signed-off-by: David S. Miller --- Reading git-diff-tree failed