netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 2.6.1] dst_gc_timer initialization
@ 2004-01-20  0:14 Alex Pankratov
  2004-01-20  4:57 ` David S. Miller
  0 siblings, 1 reply; 2+ messages in thread
From: Alex Pankratov @ 2004-01-20  0:14 UTC (permalink / raw)
  To: davem; +Cc: netdev

[-- Attachment #1: Type: text/plain, Size: 165 bytes --]

The second and third parameters of TIMER_INITIALIZER macro, which is 
used to initialize dst_gc_timer, are swapped. The patch puts them into 
the right order.

Alex

[-- Attachment #2: dst.c.diff --]
[-- Type: text/plain, Size: 357 bytes --]

--- dst.c	2004-01-19 16:16:41.323996968 -0800
+++ dst.c.patched	2004-01-19 16:16:31.188537792 -0800
@@ -40,7 +40,7 @@
 static void ___dst_free(struct dst_entry * dst);
 
 static struct timer_list dst_gc_timer =
-	TIMER_INITIALIZER(dst_run_gc, 0, DST_GC_MIN);
+	TIMER_INITIALIZER(dst_run_gc, DST_GC_MIN, 0);
 
 static void dst_run_gc(unsigned long dummy)
 {

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-01-20  4:57 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-01-20  0:14 [PATCH 2.6.1] dst_gc_timer initialization Alex Pankratov
2004-01-20  4:57 ` 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).