* [PATCH] undefined "csum_ipv6_magic" in net/ipv6/netfilter/nf_conntrack_ipv6.ko
@ 2005-05-03 7:11 Pawel Sikora
2005-05-03 18:05 ` Patrick McHardy
0 siblings, 1 reply; 2+ messages in thread
From: Pawel Sikora @ 2005-05-03 7:11 UTC (permalink / raw)
To: netfilter-devel, Patrick McHardy
[-- Attachment #1: Type: text/plain, Size: 726 bytes --]
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.
--
The only thing necessary for the triumph of evil
is for good men to do nothing.
- Edmund Burke
[-- Attachment #2: nf_conntrack-undefined_checksum.patch --]
[-- Type: text/x-diff, Size: 561 bytes --]
Index: nf_conntrack/linux-2.6/net/ipv6/netfilter/nf_conntrack_proto_icmpv6.c
===================================================================
--- nf_conntrack/linux-2.6/net/ipv6/netfilter/nf_conntrack_proto_icmpv6.c (revision 3889)
+++ nf_conntrack/linux-2.6/net/ipv6/netfilter/nf_conntrack_proto_icmpv6.c (working copy)
@@ -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>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2005-05-03 18:05 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-05-03 7:11 [PATCH] undefined "csum_ipv6_magic" in net/ipv6/netfilter/nf_conntrack_ipv6.ko Pawel Sikora
2005-05-03 18:05 ` Patrick McHardy
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.