diff options
author | Florian Westphal <fw@strlen.de> | 2017-09-06 15:39:52 +0300 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2017-09-08 19:55:52 +0300 |
commit | 8073e960a03bf7b5d5ebfc5ff18ac475e1688f46 (patch) | |
tree | 94487b78758c1b7d9c6985b006fe20f4b7dea86c /security | |
parent | e1bf1687740ce1a3598a1c5e452b852ff2190682 (diff) | |
download | linux-8073e960a03bf7b5d5ebfc5ff18ac475e1688f46.tar.xz |
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 'security')
0 files changed, 0 insertions, 0 deletions