git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b242e89
)
[NET]: Corrects a bug in ip_rt_acct_read()
author
Eric Dumazet
<dada1@cosmosbay.com>
Fri, 16 Nov 2007 10:29:24 +0000
(
02:29
-0800)
committer
David S. Miller
<davem@sunset.davemloft.net>
Mon, 19 Nov 2007 02:47:38 +0000
(18:47 -0800)
It seems that stats of cpu 0 are counted twice, since
for_each_possible_cpu() is looping on all possible cpus, including 0
Before percpu conversion of ip_rt_acct, we should also remove the
assumption that CPU 0 is online (or even possible)
Signed-off-by: Eric Dumazet <dada1@cosmosbay.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
No differences found