patch-2.4.27 linux-2.4.27/net/ipv4/tcp_minisocks.c

Next file: linux-2.4.27/net/ipv4/tcp_output.c
Previous file: linux-2.4.27/net/ipv4/tcp_input.c
Back to the patch index
Back to the overall index

diff -urN linux-2.4.26/net/ipv4/tcp_minisocks.c linux-2.4.27/net/ipv4/tcp_minisocks.c
@@ -720,7 +720,7 @@
 		newtp->frto_counter = 0;
 		newtp->frto_highmark = 0;
 
-		newtp->ca_state = TCP_CA_Open;
+		tcp_set_ca_state(newtp, TCP_CA_Open);
 		tcp_init_xmit_timers(newsk);
 		skb_queue_head_init(&newtp->out_of_order_queue);
 		newtp->send_head = NULL;
@@ -788,6 +788,7 @@
 		newtp->mss_clamp = req->mss;
 		TCP_ECN_openreq_child(newtp, req);
 
+		tcp_vegas_init(newtp);
 		TCP_INC_STATS_BH(TcpPassiveOpens);
 	}
 	return newsk;

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)