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
- Lines: 11
- Date:
2003-08-25 04:44:42.000000000 -0700
- Orig file:
linux-2.4.21/drivers/net/wan/sdla_fr.c
- Orig date:
2002-08-02 17:39:44.000000000 -0700
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)