commit | fe19c04ca13737a48277fad28d912efbd72c1772 | [log] [tgz] |
---|---|---|
author | Pablo Neira Ayuso <pablo@netfilter.org> | Tue Dec 19 13:53:45 2017 +0100 |
committer | Pablo Neira Ayuso <pablo@netfilter.org> | Wed Jan 10 15:32:04 2018 +0100 |
tree | 0f60983ed7648da60a5eeaad2f26e4eb33ccab98 | |
parent | 61ad64080e039dce99a7f8d89b729bbea995e2f7 [diff] |
netfilter: nf_tables: remove nhooks field from struct nft_af_info We already validate the hook through bitmask, so this check is superfluous. When removing this, this patch is also fixing a bug in the new flowtable codebase, since ctx->afi points to the table family instead of the netdev family which is where the flowtable is really hooked in. Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>