[Top] [All Lists]

Re: [PATCH] NET: Normalize jiffies reported to userspace, in neighbor ma

To: davem@xxxxxxxxxx
Subject: Re: [PATCH] NET: Normalize jiffies reported to userspace, in neighbor management code
From: YOSHIFUJI Hideaki / 吉藤英明 <yoshfuji@xxxxxxxxxxxxxx>
Date: Tue, 11 Nov 2003 21:36:03 -0600 (CST)
Cc: netdev@xxxxxxxxxxx, yoshfuji@xxxxxxxxxxxxxx
In-reply-to: <20031111160200.72cee93a.davem@xxxxxxxxxx>
Organization: USAGI Project
References: <20031110230233.254061da.davem@xxxxxxxxxx> <20031111.163128.48152698.yoshfuji@xxxxxxxxxxxxxx> <20031111160200.72cee93a.davem@xxxxxxxxxx>
Sender: netdev-bounce@xxxxxxxxxxx
In article <20031111160200.72cee93a.davem@xxxxxxxxxx> (at Tue, 11 Nov 2003 
16:02:00 -0800), "David S. Miller" <davem@xxxxxxxxxx> says:

> I'm asking Linus what we should do here.  It's a big change to
> make to fix this bug, and if he thinks so too we'll just use
> your original patch which is a safer version of the fix for 2.6.0
> purposes.  If that happens, we'll integrate this nicer version
> for 2.6.1 or something like this.

Yes, it is the reason why I did not submit this fisrt;
to avoid "big" change before 2.6.0.
Just in case Linus accept this change now, please apply following 
on top of the patch because I sent you wrong version with typo...


--- linux26-sysctl/kernel/sysctl.c.orig Wed Nov 12 12:25:35 2003
+++ linux26-sysctl+fix/kernel/sysctl.c  Wed Nov 12 12:27:18 2003
@@ -1413,7 +1413,7 @@
                        if (!first)
                                *p++ = '\t';
-                       if (conv(&neg, &lval, i, 1, data))
+                       if (conv(&neg, &lval, i, 0, data))
                        sprintf(p, "%s%lu", neg ? "-" : "", lval);

Hideaki YOSHIFUJI @ USAGI Project <yoshfuji@xxxxxxxxxxxxxx>
GPG FP: 9022 65EB 1ECF 3AD1 0BDF  80D8 4807 F894 E062 0EEA

<Prev in Thread] Current Thread [Next in Thread>