Skip to contentSkip to conversation

nf_tables: Fix up build issue on IPv6 NAT support

PATCH Applied Tomasz Bursztyka 2 participants 2 messages Nov 16, 2012

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 nf_tables: Fix up build issue on IPv6 NAT support

A left-over from IPv4 NAT which was not detected at first since CONFIG_NETFILTER_DEBUG was not enabled when compiling.

---
 net/ipv6/netfilter/nft_chain_nat_ipv6.c | 2 --
 1 file changed, 2 deletions(-)
net/ipv6/netfilter/nft_chain_nat_ipv6.c +0 -2
index c585807..bc2f351 100644
@@ -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. */
Signature · 1 line
1.8.0
maintainer Applied
#1 lore raw
Quoted 2 lines · Tomasz Bursztyka

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.