Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit da4d0f6b authored by Patrick McHardy's avatar Patrick McHardy Committed by David S. Miller
Browse files

[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: default avatarPatrick McHardy <kaber@trash.net>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent b5dd674b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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,