All of lore.kernel.org
 help / color / mirror / Atom feed
From: Alex Pankratov <ap@cipherica.com>
To: davem@redhat.com
Cc: netdev@oss.sgi.com
Subject: [PATCH 2.6.1] dst_gc_timer initialization
Date: Mon, 19 Jan 2004 16:14:07 -0800	[thread overview]
Message-ID: <400C72CF.9020906@cipherica.com> (raw)

[-- 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)
 {

             reply	other threads:[~2004-01-20  0:14 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-01-20  0:14 Alex Pankratov [this message]
2004-01-20  4:57 ` [PATCH 2.6.1] dst_gc_timer initialization David S. Miller

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=400C72CF.9020906@cipherica.com \
    --to=ap@cipherica.com \
    --cc=davem@redhat.com \
    --cc=netdev@oss.sgi.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.