summaryrefslogtreecommitdiffstats
path: root/net/mac80211
diff options
context:
space:
mode:
authorPatrick McHardy2015-03-25 15:08:47 +0100
committerPablo Neira Ayuso2015-03-26 11:09:34 +0100
commit61edafbb47e9f46fb850035b1f8f062564445704 (patch)
tree9adc749e66e69c6cd5b1d82434ab00bf1c406670 /net/mac80211
parentnetfilter: nf_tables: convert hash and rbtree to set extensions (diff)
downloadkernel-qcow2-linux-61edafbb47e9f46fb850035b1f8f062564445704.tar.gz
kernel-qcow2-linux-61edafbb47e9f46fb850035b1f8f062564445704.tar.xz
kernel-qcow2-linux-61edafbb47e9f46fb850035b1f8f062564445704.zip
netfilter: nf_tables: consolide set element destruction
With the conversion to set extensions, it is now possible to consolidate the different set element destruction functions. The set implementations' ->remove() functions are changed to only take the element out of their internal data structures. Elements will be freed in a batched fashion after the global transaction's completion RCU grace period. This reduces the amount of grace periods required for nft_hash from N to zero additional ones, additionally this guarantees that the set elements' extensions of all implementations can be used under RCU protection. Signed-off-by: Patrick McHardy <kaber@trash.net> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'net/mac80211')
0 files changed, 0 insertions, 0 deletions