Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 16e6427c authored by wenxu's avatar wenxu Committed by Pablo Neira Ayuso
Browse files

netfilter: ipv6: Fix undefined symbol nf_ct_frag6_gather



CONFIG_NETFILTER=m and CONFIG_NF_DEFRAG_IPV6 is not set

ERROR: "nf_ct_frag6_gather" [net/ipv6/ipv6.ko] undefined!

Fixes: c9bb6165 ("netfilter: nf_conntrack_bridge: fix CONFIG_IPV6=y")
Reported-by: default avatarkbuild test robot <lkp@intel.com>
Signed-off-by: default avatarwenxu <wenxu@ucloud.cn>
Signed-off-by: default avatarPablo Neira Ayuso <pablo@netfilter.org>
parent 8b5e07d7
Loading
Loading
Loading
Loading
+3 −1
Original line number Original line Diff line number Diff line
@@ -238,8 +238,10 @@ static const struct nf_ipv6_ops ipv6ops = {
	.route_input		= ip6_route_input,
	.route_input		= ip6_route_input,
	.fragment		= ip6_fragment,
	.fragment		= ip6_fragment,
	.reroute		= nf_ip6_reroute,
	.reroute		= nf_ip6_reroute,
#if IS_MODULE(CONFIG_IPV6)
#if IS_MODULE(CONFIG_IPV6) && IS_ENABLED(CONFIG_NF_DEFRAG_IPV6)
	.br_defrag		= nf_ct_frag6_gather,
	.br_defrag		= nf_ct_frag6_gather,
#endif
#if IS_MODULE(CONFIG_IPV6)
	.br_fragment		= br_ip6_fragment,
	.br_fragment		= br_ip6_fragment,
#endif
#endif
};
};