]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
netfilter: nf_tables: select set backend flavour depending on description
authorPablo Neira Ayuso <pablo@netfilter.org>
Mon, 22 May 2017 16:47:51 +0000 (17:47 +0100)
committerPablo Neira Ayuso <pablo@netfilter.org>
Mon, 29 May 2017 10:46:17 +0000 (12:46 +0200)
commit2b664957c27fe708035b217c908edd1048be355e
tree17e5ea4e58624c3d4044a46b423ec62896d2a4aa
parent5fc6ced958db70556ce50f7026cd80078bde5a8c
netfilter: nf_tables: select set backend flavour depending on description

This patch adds the infrastructure to support several implementations of
the same set type. This selection will be based on the set description
and the features available for this set. This allow us to select set
backend implementation that will result in better performance numbers.

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