Re: [PATCH] NET: Normalize jiffies reported to userspace, in neighbor management code
From: YOSHIFUJI Hideaki / 吉藤英明 <hidden>
Date: 2003-11-12 03:36:03
From: YOSHIFUJI Hideaki / 吉藤英明 <hidden>
Date: 2003-11-12 03:36:03
In article [ref] (at Tue, 11 Nov 2003 16:02:00 -0800), "David S. Miller" [off-list ref] 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... Thanks.
--- 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)) break; sprintf(p, "%s%lu", neg ? "-" : "", lval);
--
Hideaki YOSHIFUJI @ USAGI Project <yoshfuji@linux-ipv6.org>
GPG FP: 9022 65EB 1ECF 3AD1 0BDF 80D8 4807 F894 E062 0EEA