Searched hist:"483 b23ffa3a5f44767038b0a676d757e0668437e" (Results 1 – 1 of 1) sorted by relevance
/linux/net/ipv4/ |
H A D | route.c | diff 483b23ffa3a5f44767038b0a676d757e0668437e Fri Nov 16 11:29:24 CET 2007 Eric Dumazet <dada1@cosmosbay.com> [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>
|