]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
netfilter: nf_tables: no size estimation if number of set elements is unknown
authorPablo Neira Ayuso <pablo@netfilter.org>
Mon, 22 May 2017 16:47:45 +0000 (17:47 +0100)
committerPablo Neira Ayuso <pablo@netfilter.org>
Mon, 29 May 2017 10:46:15 +0000 (12:46 +0200)
commit080ed636a559e960010b714dee035dddacbe73b9
tree3906d1ec665a01bf2f7bd789d3decb8c46981594
parent187388bc3d63a9a3ae66b8dec255d0426eea2236
netfilter: nf_tables: no size estimation if number of set elements is unknown

This size estimation is ignored by the existing set backend selection
logic, since this estimation structure is stack allocated, set this to
~0 to make it easier to catch bugs in future changes.

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