Skip to content

Commit

Permalink
[NETFILTER]: ip6_tables: use raw_smp_processor_id() in do_add_counters()
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Patrick McHardy authored and David S. Miller committed Jan 28, 2008
1 parent b5dd674 commit da4d0f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion net/ipv6/netfilter/ip6_tables.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit da4d0f6

Please sign in to comment.