patch-1.3.87 linux/net/ipv4/af_inet.c

Next file: linux/net/ipv4/arp.c
Previous file: linux/net/ethernet/eth.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.86/linux/net/ipv4/af_inet.c linux/net/ipv4/af_inet.c
@@ -307,6 +307,7 @@
   	 */
   	 
   	delete_timer(sk);
+	del_timer(&sk->delack_timer);
 	del_timer(&sk->retransmit_timer);
 	
 	/*
@@ -673,6 +674,7 @@
 	sk->prot = prot;
 	sk->sleep = sock->wait;
 	init_timer(&sk->timer);
+	init_timer(&sk->delack_timer);
 	init_timer(&sk->retransmit_timer);
 	sk->timer.data = (unsigned long)sk;
 	sk->timer.function = &net_timer;

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this