diff options
author | Eric Dumazet <eric.dumazet@gmail.com> | 2010-06-01 12:00:41 +0200 |
---|---|---|
committer | Patrick McHardy <kaber@trash.net> | 2010-06-01 12:00:41 +0200 |
commit | fabf3a85ab88063c10f367cccba7b3a1e59df996 (patch) | |
tree | 7c1ea5590906e50359dd10c590a778f84abe3ca1 /net/ipv4 | |
parent | a8b563894d6fee9b90b7d6ed76f8ec28ad45bcbe (diff) | |
download | linux-3.10-fabf3a85ab88063c10f367cccba7b3a1e59df996.tar.gz linux-3.10-fabf3a85ab88063c10f367cccba7b3a1e59df996.tar.bz2 linux-3.10-fabf3a85ab88063c10f367cccba7b3a1e59df996.zip |
netfilter: xt_statistic: remove nth_lock spinlock
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>
Diffstat (limited to 'net/ipv4')
0 files changed, 0 insertions, 0 deletions