| To: | davem@xxxxxxxxxx |
|---|---|
| Subject: | [PATCH 2.6.1] dst_gc_timer initialization |
| From: | Alex Pankratov <ap@xxxxxxxxxxxxx> |
| Date: | Mon, 19 Jan 2004 16:14:07 -0800 |
| Cc: | netdev@xxxxxxxxxxx |
| Sender: | netdev-bounce@xxxxxxxxxxx |
| User-agent: | Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6b) Gecko/20031205 Thunderbird/0.4 |
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 --- 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)
{
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | [PATCH] Oops in register_proc_table (2.6.1-mm4), Krishna Kumar |
|---|---|
| Next by Date: | [PATCH] IPV6: add missing sentinel for addrconf procfs, YOSHIFUJI Hideaki / 吉藤英明 |
| Previous by Thread: | [BK PATCH] 2.6.1 SCTP updates., Sridhar Samudrala |
| Next by Thread: | Re: [PATCH 2.6.1] dst_gc_timer initialization, David S. Miller |
| Indexes: | [Date] [Thread] [Top] [All Lists] |