From: Russell King <rmk+lkml@arm.linux.org.uk>
To: Linux Kernel List <linux-kernel@vger.kernel.org>
Cc: netdev@oss.sgi.com
Subject: [PATCH] 2.6.9-rc1 compile fix: ip_conntrack_proto_udp.c / ip_conntrack_proto_icmp.c
Date: Tue, 24 Aug 2004 11:27:44 +0100 [thread overview]
Message-ID: <20040824112744.B23041@flint.arm.linux.org.uk> (raw)
These seem to suffer from the same problem that ip_conntrack_proto_tcp.c
does (see Felipe Alfaro Solana recent mail on lkml.)
net/ipv4/netfilter/ip_conntrack_proto_udp.c: In function `udp_error':
net/ipv4/netfilter/ip_conntrack_proto_udp.c:120: error: `NF_IP_PRE_ROUTING' undeclared (first use in this function)
net/ipv4/netfilter/ip_conntrack_proto_udp.c:120: error: (Each undeclared identifier is reported only once
net/ipv4/netfilter/ip_conntrack_proto_udp.c:120: error: for each function it appears in.)
and:
net/ipv4/netfilter/ip_conntrack_proto_icmp.c: In function `icmp_error_message':
net/ipv4/netfilter/ip_conntrack_proto_icmp.c:180: error: `NF_IP_LOCAL_OUT' undeclared (first use in this function)
net/ipv4/netfilter/ip_conntrack_proto_icmp.c:180: error: (Each undeclared identifier is reported only once
net/ipv4/netfilter/ip_conntrack_proto_icmp.c:180: error: for each function it appears in.)
net/ipv4/netfilter/ip_conntrack_proto_icmp.c: In function `icmp_error':
net/ipv4/netfilter/ip_conntrack_proto_icmp.c:216: error: `NF_IP_PRE_ROUTING' undeclared (first use in this function)
diff -up -x BitKeeper -x ChangeSet -x SCCS -x _xlk -x *.orig -x *.rej orig/net/ipv4/netfilter/ip_conntrack_proto_udp.c linux/net/ipv4/netfilter/ip_conntrack_proto_udp.c
--- orig/net/ipv4/netfilter/ip_conntrack_proto_udp.c Tue Aug 24 09:57:21 2004
+++ linux/net/ipv4/netfilter/ip_conntrack_proto_udp.c Tue Aug 24 11:22:48 2004
@@ -14,6 +14,7 @@
#include <linux/udp.h>
#include <net/checksum.h>
#include <linux/netfilter.h>
+#include <linux/netfilter_ipv4.h>
#include <linux/netfilter_ipv4/ip_conntrack_protocol.h>
unsigned long ip_ct_udp_timeout = 30*HZ;
diff -up -x BitKeeper -x ChangeSet -x SCCS -x _xlk -x *.orig -x *.rej orig/net/ipv4/netfilter/ip_conntrack_proto_icmp.c linux/net/ipv4/netfilter/ip_conntrack_proto_icmp.c
--- orig/net/ipv4/netfilter/ip_conntrack_proto_icmp.c Tue Aug 24 09:57:21 2004
+++ linux/net/ipv4/netfilter/ip_conntrack_proto_icmp.c Tue Aug 24 11:24:27 2004
@@ -15,6 +15,7 @@
#include <net/ip.h>
#include <net/checksum.h>
#include <linux/netfilter.h>
+#include <linux/netfilter_ipv4.h>
#include <linux/netfilter_ipv4/ip_conntrack.h>
#include <linux/netfilter_ipv4/ip_conntrack_core.h>
#include <linux/netfilter_ipv4/ip_conntrack_protocol.h>
--
Russell King
Linux kernel 2.6 ARM Linux - http://www.arm.linux.org.uk/
maintainer of: 2.6 PCMCIA - http://pcmcia.arm.linux.org.uk/
2.6 Serial core
reply other threads:[~2004-08-24 10:28 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20040824112744.B23041@flint.arm.linux.org.uk \
--to=rmk+lkml@arm.linux.org.uk \
--cc=linux-kernel@vger.kernel.org \
--cc=netdev@oss.sgi.com \
/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.