summaryrefslogtreecommitdiffstats
path: root/drivers/char/snsc.c
diff options
context:
space:
mode:
authorEric Dumazet <dada1@cosmosbay.com>2007-11-16 02:29:24 -0800
committerDavid S. Miller <davem@sunset.davemloft.net>2007-11-18 18:47:38 -0800
commit483b23ffa3a5f44767038b0a676d757e0668437e (patch)
tree0d3e90fba6499af90077e01ba3c4da48a7c9b1d8 /drivers/char/snsc.c
parentb242e891c218162cfbae064b1a9136cdbed5ee53 (diff)
downloadblackbird-op-linux-483b23ffa3a5f44767038b0a676d757e0668437e.tar.gz
blackbird-op-linux-483b23ffa3a5f44767038b0a676d757e0668437e.zip
[NET]: Corrects a bug in ip_rt_acct_read()
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>
Diffstat (limited to 'drivers/char/snsc.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud