]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit62dcb553190d0ba8d6ec60ccfee13fb9603be428
tree7a7e003bd5f68e3e056edec1155e2805a526bb96
parenta48727929a022e4e7ee98a1fa40f9000fd674344
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