diff options
author | Eric Dumazet <dada1@cosmosbay.com> | 2007-11-29 23:07:57 +1100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2007-12-14 10:31:58 -0800 |
commit | e8597d874b0141dbfd9aeea4dd84c5a8a614c322 (patch) | |
tree | 59af405985eefd58cfc61e45c16884b2e1eed1e0 /Documentation/cpu-hotplug.txt | |
parent | 83cbdf5b31c9d8dd0b929a95603b13a8255e2268 (diff) | |
download | lwn-e8597d874b0141dbfd9aeea4dd84c5a8a614c322.tar.gz lwn-e8597d874b0141dbfd9aeea4dd84c5a8a614c322.zip |
NET: Corrects a bug in ip_rt_acct_read()
[NET]: Corrects a bug in ip_rt_acct_read()
[ Upstream commit: 483b23ffa3a5f44767038b0a676d757e0668437e ]
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>
Cc: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'Documentation/cpu-hotplug.txt')
0 files changed, 0 insertions, 0 deletions