undefined "csum_ipv6_magic" in net/ipv6/netfilter/nf_conntrack_ipv6.ko
PATCH 1/1 undefined "csum_ipv6_magic" in net/ipv6/netfilter/nf_conntrack_ipv6.ko
Hi All,
The asm/arch-ppc/checksum.h doesn't provide an optimizied version of `csum_ipv6_magic'. You shoud use a generic version.
During build on PPC32 I get:
CC [M] net/ipv6/netfilter/nf_conntrack_proto_icmpv6.onet/ipv6/netfilter/nf_conntrack_proto_icmpv6.c: In function `icmpv6_error':net/ipv6/netfilter/nf_conntrack_proto_icmpv6.c:239:
warning: implicit declaration of function csum_ipv6_magic'
And finally get unusable module:
* Warning: "csum_ipv6_magic" [net/ipv6/netfilter/nf_conntrack_ipv6.ko] undefined!
Problem was also reported in bug#307.
Regards,
Pawel.
Signature · 3 lines
The only thing necessary for the triumph of evil
is for good men to do nothing.
- Edmund Burkelinux-2.6/net/ipv6/netfilter/nf_conntrack_proto_icmpv6.c +1 -0
@@ -25,6 +25,7 @@#include <linux/icmpv6.h> #include <linux/ipv6.h> #include <net/ipv6.h> +#include <net/ip6_checksum.h> #include <linux/seq_file.h> #include <linux/netfilter_ipv6.h> #include <linux/netfilter/nf_conntrack_tuple.h>
Patrick McHardy
AppliedQuoted 4 lines · Pawel Sikora
Hi All,
The
asm/arch-ppc/checksum.hdoesn't provide an optimizied version of `csum_ipv6_magic'. You shoud use a generic version.
Applied, thanks.