netfilter: nf_tables: fix wrong check of NFT_SET_MAP in nf_tables_bind_set
authorLiping Zhang <liping.zhang@spreadtrum.com>
Sat, 11 Jun 2016 04:20:26 +0000 (12:20 +0800)
committerPablo Neira Ayuso <pablo@netfilter.org>
Wed, 15 Jun 2016 10:17:23 +0000 (12:17 +0200)
commita46844021f6182cca7b575295ba33a4734b1b9d9
tree7a7e003bd5f68e3e056edec1155e2805a526bb96
parent775711497202fe376368c25b0c7296ed8803e0ba
netfilter: nf_tables: fix wrong check of NFT_SET_MAP in nf_tables_bind_set

We should check "i" is used as a dictionary or not, "binding" is already
checked before.

Signed-off-by: Liping Zhang <liping.zhang@spreadtrum.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/netfilter/nf_tables_api.c