netfilter-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [nf-next:nf_tables-experiments PATCH] nf_tables: Fix up build issue on IPv6 NAT support
@ 2012-11-16  7:42 Tomasz Bursztyka
  2012-11-16  9:56 ` Pablo Neira Ayuso
  0 siblings, 1 reply; 2+ messages in thread
From: Tomasz Bursztyka @ 2012-11-16  7:42 UTC (permalink / raw)
  To: netfilter-devel; +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 <tomasz.bursztyka@linux.intel.com>
---
 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. */
-- 
1.8.0


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [nf-next:nf_tables-experiments PATCH] nf_tables: Fix up build issue on IPv6 NAT support
  2012-11-16  7:42 [nf-next:nf_tables-experiments PATCH] nf_tables: Fix up build issue on IPv6 NAT support Tomasz Bursztyka
@ 2012-11-16  9:56 ` Pablo Neira Ayuso
  0 siblings, 0 replies; 2+ messages in thread
From: Pablo Neira Ayuso @ 2012-11-16  9:56 UTC (permalink / raw)
  To: Tomasz Bursztyka; +Cc: netfilter-devel

On Fri, Nov 16, 2012 at 09:42:59AM +0200, Tomasz Bursztyka wrote:
> A left-over from IPv4 NAT which was not detected at first since
> CONFIG_NETFILTER_DEBUG was not enabled when compiling.

Applied, thanks for your quick reply Tomasz.

Note that I've renamed nf_tables-experiments branch to nf_tables8, so
the former does not exist anymore.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-11-16  9:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-11-16  7:42 [nf-next:nf_tables-experiments PATCH] nf_tables: Fix up build issue on IPv6 NAT support Tomasz Bursztyka
2012-11-16  9:56 ` Pablo Neira Ayuso

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).