patch-2.3.99-pre7 linux/net/ipx/af_spx.c

Next file: linux/net/irda/irlan/irlan_client.c
Previous file: linux/net/ipv6/udp.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.99-pre6/linux/net/ipx/af_spx.c linux/net/ipx/af_spx.c
@@ -466,9 +466,7 @@
         ipxh->spx.allocseq      = htons(pdata->alloc);
 
 	/* Reset/Set WD timer */
-        del_timer(&pdata->watchdog);
-        pdata->watchdog.expires = jiffies + VERIFY_TIMEOUT;
-        add_timer(&pdata->watchdog);
+        mod_timer(&pdata->watchdog, jiffies+VERIFY_TIMEOUT);
 
 	switch(type)
 	{

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