aboutsummaryrefslogtreecommitdiff
path: root/tools/lib
diff options
context:
space:
mode:
authorFlorian Westphal <fw@strlen.de>2022-02-05 13:00:04 +0100
committerPablo Neira Ayuso <pablo@netfilter.org>2022-02-09 11:44:03 +0100
commit8dd8678e42b5a8bbd3e2c49cda76c743318c56b0 (patch)
tree78ababedb6b76293835cfe540805c8dab479e894 /tools/lib
parentc828414ac935bd3df96a8f7028d9d06a3db441e8 (diff)
netfilter: ecache: don't use nf_conn spinlock
For updating eache missed value we can use cmpxchg. This also avoids need to disable BH. kernel robot reported build failure on v1 because not all arches support cmpxchg for u16, so extend this to u32. This doesn't increase struct size, existing padding is used. Reported-by: kernel test robot <lkp@intel.com> Signed-off-by: Florian Westphal <fw@strlen.de> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'tools/lib')
0 files changed, 0 insertions, 0 deletions