[TCP]: Allow choosing TCP congestion control via sockopt.
[linux-2.6.git] / net / ipv4 / tcp_ipv4.c
index 9122814..ebf1123 100644 (file)
@@ -2048,7 +2048,7 @@ static int tcp_v4_init_sock(struct sock *sk)
        tp->mss_cache_std = tp->mss_cache = 536;
 
        tp->reordering = sysctl_tcp_reordering;
-       tp->ca_ops = &tcp_reno;
+       tp->ca_ops = &tcp_init_congestion_ops;
 
        sk->sk_state = TCP_CLOSE;