From: Patrick McHardy Date: Tue, 18 Dec 2007 05:52:52 +0000 (-0800) Subject: [NETFILTER]: ip6_tables: use raw_smp_processor_id() in do_add_counters() X-Git-Tag: v2.6.25-rc1~1162^2~1033 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=da4d0f6b3d3c7bcd00e097d48416e0a1dfde2a0f;p=linux-2.6-omap-h63xx.git [NETFILTER]: ip6_tables: use raw_smp_processor_id() in do_add_counters() Use raw_smp_processor_id() in do_add_counters() as in ip_tables.c. Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller --- diff --git a/net/ipv6/netfilter/ip6_tables.c b/net/ipv6/netfilter/ip6_tables.c index fc4c62fddfe..d910d56d22d 100644 --- a/net/ipv6/netfilter/ip6_tables.c +++ b/net/ipv6/netfilter/ip6_tables.c @@ -1420,7 +1420,7 @@ do_add_counters(void __user *user, unsigned int len, int compat) i = 0; /* Choose the copy that is on our node */ - loc_cpu_entry = private->entries[smp_processor_id()]; + loc_cpu_entry = private->entries[raw_smp_processor_id()]; IP6T_ENTRY_ITERATE(loc_cpu_entry, private->size, add_counter_to_entry,