diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2017-12-09 15:40:25 +0100 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2018-01-08 18:01:21 +0100 |
commit | c974a3a36468d1947c96f0c694c8a1b2e7810043 (patch) | |
tree | b9863347372efa54208216cd1d33ce7ad7ccd4e7 /net/netfilter/nf_tables_inet.c | |
parent | 12355d3670dac0dde5aae3deefb59f8cc0a9ed2a (diff) | |
download | linux-stable-c974a3a36468d1947c96f0c694c8a1b2e7810043.tar.gz linux-stable-c974a3a36468d1947c96f0c694c8a1b2e7810043.tar.bz2 linux-stable-c974a3a36468d1947c96f0c694c8a1b2e7810043.zip |
netfilter: nf_tables: remove multihook chains and families
Since NFPROTO_INET is handled from the core, we don't need to maintain
extra infrastructure in nf_tables to handle the double hook
registration, one for IPv4 and another for IPv6.
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'net/netfilter/nf_tables_inet.c')
-rw-r--r-- | net/netfilter/nf_tables_inet.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/net/netfilter/nf_tables_inet.c b/net/netfilter/nf_tables_inet.c index c6194b3509aa..edd7829a5753 100644 --- a/net/netfilter/nf_tables_inet.c +++ b/net/netfilter/nf_tables_inet.c @@ -74,7 +74,6 @@ static struct nft_af_info nft_af_inet __read_mostly = { .family = NFPROTO_INET, .nhooks = NF_INET_NUMHOOKS, .owner = THIS_MODULE, - .nops = 1, .hooks = { [NF_INET_LOCAL_IN] = nft_do_chain_inet, [NF_INET_LOCAL_OUT] = nft_inet_output, |