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.2.18~38 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b713f6c7d317c136f03c132203d0900f4a0de084;p=pandora-kernel.git tcp: fix infinite cwnd in tcp_complete_cwr() [ Upstream commit 1cebce36d660c83bd1353e41f3e66abd4686f215 ] 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 Signed-off-by: Ben Hutchings --- Reading git-diff-tree failed