]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit169ec070d77b5eef676fd3832b6eca98cd47d555
tree19ac5d52d9197425b45840146028f91e8f03b2c5
parent46a4b1ba5c4ebda34b6d317ae5c3805b7a8752a7
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