netfilter: nf_tables: honor NFT_SET_OBJECT in set backend selection
authorPablo Neira Ayuso <pablo@netfilter.org>
Fri, 10 Feb 2017 18:59:36 +0000 (19:59 +0100)
committerPablo Neira Ayuso <pablo@netfilter.org>
Sun, 12 Feb 2017 13:45:14 +0000 (14:45 +0100)
commit7286ff7fde9f963736c7e575572899d8e16b06b7
tree19ac5d52d9197425b45840146028f91e8f03b2c5
parentfc52497eb9dd031de9d17af54ac8f4078663a9f5
netfilter: nf_tables: honor NFT_SET_OBJECT in set backend selection

Check for NFT_SET_OBJECT feature flag, otherwise we may end up selecting
the wrong set backend.

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