From: Pawel Sikora <pluto@pld-linux.org>
To: netfilter-devel@lists.netfilter.org, Patrick McHardy <kaber@trash.net>
Subject: [PATCH] undefined "csum_ipv6_magic" in net/ipv6/netfilter/nf_conntrack_ipv6.ko
Date: Tue, 3 May 2005 09:11:50 +0200 [thread overview]
Message-ID: <200505030911.51011.pluto@pld-linux.org> (raw)
[-- 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>
next reply other threads:[~2005-05-03 7:11 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-05-03 7:11 Pawel Sikora [this message]
2005-05-03 18:05 ` [PATCH] undefined "csum_ipv6_magic" in net/ipv6/netfilter/nf_conntrack_ipv6.ko Patrick McHardy
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200505030911.51011.pluto@pld-linux.org \
--to=pluto@pld-linux.org \
--cc=kaber@trash.net \
--cc=netfilter-devel@lists.netfilter.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.