]> err.no Git - linux-2.6/commit
[TCP]: Set default congestion control correctly for incoming connections.
authorStephen Hemminger <shemminger@osdl.org>
Wed, 21 Sep 2005 07:19:46 +0000 (00:19 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 21 Sep 2005 07:19:46 +0000 (00:19 -0700)
commit7957aed72b104f7528da484f292442c6f3a131a1
treebe24b967df59eefbdf3eacc5d8891f14225dd44b
parent78c6671a88313fd3c4364dc46e8c8186612616b8
[TCP]: Set default congestion control correctly for incoming connections.

Patch from Joel Sing to fix the default congestion control algorithm
for incoming connections. If a new congestion control handler is added
(via module), it should become the default for new
connections. Instead, the incoming connections use reno. The cause is
incorrect initialisation causes the tcp_init_congestion_control()
function to return after the initial if test fails.

Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
Acked-by: Ian McDonald <imcdnzl@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/tcp_minisocks.c