netfilter: nft_compat: use the match->table to validate dependencies
authorPablo Neira Ayuso <pablo@netfilter.org>
Mon, 10 Nov 2014 18:08:21 +0000 (19:08 +0100)
committerPablo Neira Ayuso <pablo@netfilter.org>
Wed, 12 Nov 2014 11:06:24 +0000 (12:06 +0100)
commitafefb6f928ed42d5db452ee9251ce6de62673c67
treec66b5b601862fa200b1613629e332a5d89d83ab7
parentc918687f5e3962375a19de6ded3c1be85ebdbcd6
netfilter: nft_compat: use the match->table to validate dependencies

Instead of the match->name, which is of course not relevant.

Fixes: f3f5dde ("netfilter: nft_compat: validate chain type in match/target")
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/netfilter/nft_compat.c