aboutsummaryrefslogtreecommitdiffstats
path: root/net/netfilter/core.c
diff options
context:
space:
mode:
authorFlorian Westphal <fw@strlen.de>2017-09-06 14:39:52 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2017-09-08 18:55:52 +0200
commit8073e960a03bf7b5d5ebfc5ff18ac475e1688f46 (patch)
tree94487b78758c1b7d9c6985b006fe20f4b7dea86c /net/netfilter/core.c
parentnetfilter: nat: Revert "netfilter: nat: convert nat bysrc hash to rhashtable" (diff)
downloadlinux-dev-8073e960a03bf7b5d5ebfc5ff18ac475e1688f46.tar.xz
linux-dev-8073e960a03bf7b5d5ebfc5ff18ac475e1688f46.zip
netfilter: nat: use keyed locks
no need to serialize on a single lock, we can partition the table and add/delete in parallel to different slots. This restores one of the advantages that got lost with the rhlist revert. Cc: Ivan Babrou <ibobrik@gmail.com> Signed-off-by: Florian Westphal <fw@strlen.de> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'net/netfilter/core.c')
0 files changed, 0 insertions, 0 deletions