diff options
author | Linus Torvalds <torvalds@g5.osdl.org> | 2005-10-28 08:50:37 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-10-28 08:50:37 -0700 |
commit | 236fa08168dd82af29a76c31c40b4148403774c0 (patch) | |
tree | 73456604747ede3536a5b851ce4615aab96237f7 /net/core/neighbour.c | |
parent | 260b23674fdb570f3235ce55892246bef1c24c2a (diff) | |
parent | dcab5e1eeccf5e226c771ecc013631cde157435f (diff) |
Merge master.kernel.org:/pub/scm/linux/kernel/git/acme/net-2.6.15
Diffstat (limited to 'net/core/neighbour.c')
-rw-r--r-- | net/core/neighbour.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/net/core/neighbour.c b/net/core/neighbour.c index 1dcf7fa1f0f..e68700f950a 100644 --- a/net/core/neighbour.c +++ b/net/core/neighbour.c @@ -1625,12 +1625,9 @@ static int neightbl_fill_info(struct neigh_table *tbl, struct sk_buff *skb, memset(&ndst, 0, sizeof(ndst)); - for (cpu = 0; cpu < NR_CPUS; cpu++) { + for_each_cpu(cpu) { struct neigh_statistics *st; - if (!cpu_possible(cpu)) - continue; - st = per_cpu_ptr(tbl->stats, cpu); ndst.ndts_allocs += st->allocs; ndst.ndts_destroys += st->destroys; |