patch-2.4.22 linux-2.4.22/drivers/net/wan/sdla_fr.c

Next file: linux-2.4.22/drivers/net/wan/sdla_x25.c
Previous file: linux-2.4.22/drivers/net/wan/sdla_chdlc.c
Back to the patch index
Back to the overall index

diff -urN linux-2.4.21/drivers/net/wan/sdla_fr.c linux-2.4.22/drivers/net/wan/sdla_fr.c
@@ -4541,9 +4541,7 @@
 {
 	fr_channel_t* chan = dev->priv;
 
-	del_timer(&chan->fr_arp_timer);
-	chan->fr_arp_timer.expires = jiffies + (chan->inarp_interval * HZ);
-	add_timer(&chan->fr_arp_timer);
+	mod_timer(&chan->fr_arp_timer, jiffies + (chan->inarp_interval) * HZ);
 	return;
 }
 

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