netfilter: xt_statistic: remove nth_lock spinlock
authorEric Dumazet <eric.dumazet@gmail.com>
Tue, 1 Jun 2010 10:00:41 +0000 (12:00 +0200)
committerPatrick McHardy <kaber@trash.net>
Tue, 1 Jun 2010 10:00:41 +0000 (12:00 +0200)
Use atomic_cmpxchg() to avoid dirtying a shared location.

xt_statistic_priv smp aligned to avoid sharing same cache line with
other stuff.

Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: Patrick McHardy <kaber@trash.net>

No differences found