]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blobdiff - net/netfilter/nft_masq.c
netfilter: nf_tables: add conntrack dependencies for nat/masq/redir expressions
[mirror_ubuntu-artful-kernel.git] / net / netfilter / nft_masq.c
index bf92de01410f8b5719e3f140af15428e43fd16f9..11ce016cd47948f3a2902402e0cbbda5e22d9438 100644 (file)
@@ -77,7 +77,7 @@ int nft_masq_init(const struct nft_ctx *ctx,
                }
        }
 
-       return 0;
+       return nf_ct_netns_get(ctx->net, ctx->afi->family);
 }
 EXPORT_SYMBOL_GPL(nft_masq_init);