* [PATCH 2.5.68] mod_timer fix for dst.c
@ 2003-05-03 8:27 Vinay K Nallamothu
2003-05-03 9:02 ` David S. Miller
0 siblings, 1 reply; 2+ messages in thread
From: Vinay K Nallamothu @ 2003-05-03 8:27 UTC (permalink / raw)
To: linux-kernel
[-- Attachment #1: Type: text/plain, Size: 91 bytes --]
Hi,
Small fix converting {del,add}_timer to mod_timer.
Applicable for 2.4.x also
vinay
[-- Attachment #2: dst.c.patch --]
[-- Type: text/plain, Size: 558 bytes --]
--- linux-2.5.68/net/core/dst.c 2003-03-25 10:08:35.000000000 +0530
+++ linux-2.5.68-mod/net/core/dst.c 2003-05-03 13:42:12.000000000 +0530
@@ -154,11 +154,9 @@
dst->next = dst_garbage_list;
dst_garbage_list = dst;
if (dst_gc_timer_inc > DST_GC_INC) {
- del_timer(&dst_gc_timer);
dst_gc_timer_inc = DST_GC_INC;
dst_gc_timer_expires = DST_GC_MIN;
- dst_gc_timer.expires = jiffies + dst_gc_timer_expires;
- add_timer(&dst_gc_timer);
+ mod_timer(&dst_gc_timer, jiffies + dst_gc_timer_expires);
}
spin_unlock_bh(&dst_lock);
}
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH 2.5.68] mod_timer fix for dst.c
2003-05-03 8:27 [PATCH 2.5.68] mod_timer fix for dst.c Vinay K Nallamothu
@ 2003-05-03 9:02 ` David S. Miller
0 siblings, 0 replies; 2+ messages in thread
From: David S. Miller @ 2003-05-03 9:02 UTC (permalink / raw)
To: Vinay K Nallamothu; +Cc: linux-kernel
Post this to where it belongs, the linux-net and netdev
lists.
This is occuring far too frequently, and I'll be damned if I'm
going to be required to read each and every linux-kernel posting
to catch all of the networking patches.
Therefore, from now on I'm going to flat out ignore every
networking patch that is sent to lkml and isn't at least CC:'d to
linux-net, netdev, or the listed networking maintainers. I mean
what the heck is the purpose of the MAINTAINERS entry if people
don't even use it?
--
David S. Miller <davem@redhat.com>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2003-05-03 18:49 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-05-03 8:27 [PATCH 2.5.68] mod_timer fix for dst.c Vinay K Nallamothu
2003-05-03 9:02 ` David S. Miller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).