commit | fabf3a85ab88063c10f367cccba7b3a1e59df996 | [log] [tgz] |
---|---|---|
author | Eric Dumazet <eric.dumazet@gmail.com> | Tue Jun 01 12:00:41 2010 +0200 |
committer | Patrick McHardy <kaber@trash.net> | Tue Jun 01 12:00:41 2010 +0200 |
tree | 7c1ea5590906e50359dd10c590a778f84abe3ca1 | |
parent | a8b563894d6fee9b90b7d6ed76f8ec28ad45bcbe [diff] |
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>