nf_tables: Fix up build issue on IPv6 NAT support
Subsystems (2)
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.
Signed-off-by Tomasz Bursztyka <[email protected]>
--- net/ipv6/netfilter/nft_chain_nat_ipv6.c | 2 -- 1 file changed, 2 deletions(-)
net/ipv6/netfilter/nft_chain_nat_ipv6.c +0 -2
@@ -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
Quoted 2 lines · Tomasz Bursztyka
A left-over from IPv4 NAT which was not detected at first since
CONFIG_NETFILTER_DEBUGwas 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.