aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv6/netfilter
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2017-12-09 15:40:25 +0100
committerPablo Neira Ayuso <pablo@netfilter.org>2018-01-08 18:01:21 +0100
commitc974a3a36468d1947c96f0c694c8a1b2e7810043 (patch)
treeb9863347372efa54208216cd1d33ce7ad7ccd4e7 /net/ipv6/netfilter
parentnetfilter: nf_tables_inet: don't use multihook infrastructure anymore (diff)
downloadlinux-dev-c974a3a36468d1947c96f0c694c8a1b2e7810043.tar.xz
linux-dev-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/ipv6/netfilter')
-rw-r--r--net/ipv6/netfilter/nf_tables_ipv6.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/net/ipv6/netfilter/nf_tables_ipv6.c b/net/ipv6/netfilter/nf_tables_ipv6.c
index b1b5d3824fc1..78d34a2f3347 100644
--- a/net/ipv6/netfilter/nf_tables_ipv6.c
+++ b/net/ipv6/netfilter/nf_tables_ipv6.c
@@ -46,7 +46,6 @@ static struct nft_af_info nft_af_ipv6 __read_mostly = {
.family = NFPROTO_IPV6,
.nhooks = NF_INET_NUMHOOKS,
.owner = THIS_MODULE,
- .nops = 1,
.hooks = {
[NF_INET_LOCAL_IN] = nft_do_chain_ipv6,
[NF_INET_LOCAL_OUT] = nft_ipv6_output,