From: Shan Wei Date: Fri, 1 Feb 2008 00:47:27 +0000 (-0800) Subject: [TCP]: Fix a bug in strategy_allowed_congestion_control X-Git-Tag: v2.6.25-rc1~1089^2~24 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=16ca3f913001efdb6171a2781ef41c77474e3895;p=pandora-kernel.git [TCP]: Fix a bug in strategy_allowed_congestion_control In strategy_allowed_congestion_control of the 2.6.24 kernel, when sysctl_string return 1 on success,it should call tcp_set_allowed_congestion_control to set the allowed congestion control.But, it don't. the sysctl_string return 1 on success, otherwise return negative, never return 0.The patch fix the problem. Signed-off-by: Shan Wei Acked-by: Stephen Hemminger Signed-off-by: David S. Miller --- Reading git-diff-tree failed