From patchwork Fri Nov 16 07:42:59 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [nf-next:nf_tables-experiments] nf_tables: Fix up build issue on IPv6 NAT support Date: Thu, 15 Nov 2012 21:42:59 -0000 From: Tomasz Bursztyka X-Patchwork-Id: 199504 Message-Id: <1353051779-21341-1-git-send-email-tomasz.bursztyka@linux.intel.com> To: netfilter-devel@vger.kernel.org Cc: Tomasz Bursztyka A left-over from IPv4 NAT which was not detected at first since CONFIG_NETFILTER_DEBUG was not enabled when compiling. Signed-off-by: Tomasz Bursztyka --- net/ipv6/netfilter/nft_chain_nat_ipv6.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/net/ipv6/netfilter/nft_chain_nat_ipv6.c b/net/ipv6/netfilter/nft_chain_nat_ipv6.c index c585807..bc2f351 100644 --- a/net/ipv6/netfilter/nft_chain_nat_ipv6.c +++ b/net/ipv6/netfilter/nft_chain_nat_ipv6.c @@ -45,8 +45,6 @@ static unsigned int nf_nat_ipv6_fn(const struct nf_hook_ops *ops, if (ct == NULL || nf_ct_is_untracked(ct)) return NF_ACCEPT; - NF_CT_ASSERT(!(ip_hdr(skb)->frag_off & htons(IP_MF | IP_OFFSET))); - nat = nfct_nat(ct); if (nat == NULL) { /* Conntrack module was loaded late, can't add extension. */