From: "David S. Miller" <davem@redhat.com>
To: David Stevens <dlstevens@us.ibm.com>
Cc: netdev@oss.sgi.com
Subject: Re: [PATCH] bug in ARP override timer near jiffies wrap
Date: Fri, 7 May 2004 14:40:00 -0700 [thread overview]
Message-ID: <20040507144000.7a57d76a.davem@redhat.com> (raw)
In-Reply-To: <OF2E0715FD.603FFEE2-ON88256E8D.006DBE22-88256E8D.006DF160@us.ibm.com>
On Fri, 7 May 2004 14:01:10 -0600
David Stevens <dlstevens@us.ibm.com> wrote:
> This patch fixes the calculation of "override" in ARP.
...
> - if (jiffies - n->updated >= n->parms->locktime)
> - override = 1;
> + override = time_after(jiffies, n->updated +
> n->parms->locktime);
David, do you realize that the existing formula is not only
correct, but also covers a greater time space than the
time_*() mechanisms do?
next prev parent reply other threads:[~2004-05-07 21:40 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-05-07 20:01 [PATCH] bug in ARP override timer near jiffies wrap David Stevens
2004-05-07 21:40 ` David S. Miller [this message]
2004-05-07 21:51 ` David Stevens
2004-05-07 21:55 ` 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=20040507144000.7a57d76a.davem@redhat.com \
--to=davem@redhat.com \
--cc=dlstevens@us.ibm.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.