patch-2.3.99-pre7 linux/net/decnet/dn_timer.c

Next file: linux/net/ipv4/inetpeer.c
Previous file: linux/net/decnet/dn_route.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.99-pre6/linux/net/decnet/dn_timer.c linux/net/decnet/dn_timer.c
@@ -135,8 +135,7 @@
 
 	if (!scp->delack_pending) {
 		scp->delack_pending = 1;
-		scp->delack_timer.next =
-		scp->delack_timer.prev = NULL;
+		init_timer(&scp->delack_timer);
 		scp->delack_timer.expires = jiffies + FAST_INTERVAL;
 		scp->delack_timer.data = (unsigned long)sk;
 		scp->delack_timer.function = dn_fast_timer;

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