* [PATCH 2.{4,5}.x] mod_timer fix for sdla_fr.c
@ 2003-05-03 14:46 Vinay K Nallamothu
0 siblings, 0 replies; only message in thread
From: Vinay K Nallamothu @ 2003-05-03 14:46 UTC (permalink / raw)
To: davej; +Cc: LKML
sdla_fr.c: trivial {del,add}_timer to mod_timer conversions.
--- linux-2.5.68/drivers/net/wan/sdla_fr.c 2003-03-25 10:07:27.000000000 +0530
+++ linux-2.5.68-nvk/drivers/net/wan/sdla_fr.c 2003-05-03 16:01:02.000000000 +0530
@@ -4156,9 +4156,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;
}
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2003-05-03 14:29 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-05-03 14:46 [PATCH 2.{4,5}.x] mod_timer fix for sdla_fr.c Vinay K Nallamothu
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®