]> git.baikalelectronics.ru Git - kernel.git/commit
netfilter: nf_tables: performance set policy skips size description in selection
authorPablo Neira Ayuso <pablo@netfilter.org>
Mon, 6 Nov 2017 04:57:13 +0000 (05:57 +0100)
committerPablo Neira Ayuso <pablo@netfilter.org>
Tue, 7 Nov 2017 00:00:30 +0000 (01:00 +0100)
commit5571f7e65c9383cd2e7af6fc00e33aa942246e0c
tree6bddc584ce4a2259f70f4de1f3e0869d5488c7f0
parentc3948857f01769005f909a26310470dce56bbe36
netfilter: nf_tables: performance set policy skips size description in selection

Use the complexity and space notations if policy is performance, this
results in placing the bitmap set representation over the hashtable for
key <= 16 for better performance as we discussed during the last NFWS in
Faro, Portugal.

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/netfilter/nf_tables_api.c