]> 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)
commit5661a8e5dc4b69d4feb3755f68574b51996e9843
tree6bddc584ce4a2259f70f4de1f3e0869d5488c7f0
parent7cddc618ecec5edcef585fef522852aa5550fb7f
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