diff options
author | Patrick McHardy <kaber@trash.net> | 2007-12-18 00:52:52 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-01-28 17:58:41 -0500 |
commit | da4d0f6b3d3c7bcd00e097d48416e0a1dfde2a0f (patch) | |
tree | 17882ea11f27f6e5ff1305aa36613258713cb24b /net/ipv6 | |
parent | b5dd674b2a1de5925955a088b0a10f81484e975a (diff) |
[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 <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6')
-rw-r--r-- | net/ipv6/netfilter/ip6_tables.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv6/netfilter/ip6_tables.c b/net/ipv6/netfilter/ip6_tables.c index fc4c62fddfe7..d910d56d22da 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) | |||
1420 | 1420 | ||
1421 | i = 0; | 1421 | i = 0; |
1422 | /* Choose the copy that is on our node */ | 1422 | /* Choose the copy that is on our node */ |
1423 | loc_cpu_entry = private->entries[smp_processor_id()]; | 1423 | loc_cpu_entry = private->entries[raw_smp_processor_id()]; |
1424 | IP6T_ENTRY_ITERATE(loc_cpu_entry, | 1424 | IP6T_ENTRY_ITERATE(loc_cpu_entry, |
1425 | private->size, | 1425 | private->size, |
1426 | add_counter_to_entry, | 1426 | add_counter_to_entry, |