Skip to contentSkip to conversation

undefined "csum_ipv6_magic" in net/ipv6/netfilter/nf_conntrack_ipv6.ko

PATCH Applied Pawel Sikora 2 participants 2 messages May 3, 2005 netfilter

lore
Share & tools
lore
#0 lore raw

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.o
net/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 Burke
linux-2.6/net/ipv6/netfilter/nf_conntrack_proto_icmpv6.c +1 -0
Index: nf_conntrack/linux-2.6/net/ipv6/netfilter/nf_conntrack_proto_icmpv6.c
===================================================================
@@ -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>
#1 lore raw
Quoted 4 lines · Pawel Sikora

Hi All,

The asm/arch-ppc/checksum.h doesn't provide an optimizied version of `csum_ipv6_magic'. You shoud use a generic version.

Applied, thanks.