[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
(usagi-users 02584) Re: [usagi-announce] 2003/10/28 snapshot
- To: usagi-users@xxxxxxxxxxxxxx
- Subject: (usagi-users 02584) Re: [usagi-announce] 2003/10/28 snapshot
- From: laurent.ml@xxxxxxxxxxx
- Date: Mon, 27 Oct 2003 17:43:31 +0100
- In-reply-to: <wazza.877k2qllbj.fsf@message.id> (laurent ml's message of "Mon, 27 Oct 2003 17:03:28 +0100")
- References: <20031027.174404.95843961.yoshfuji@linux-ipv6.org> <wazza.877k2qllbj.fsf@message.id>
- Reply-to: usagi-users@xxxxxxxxxxxxxx
- User-agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.3 (gnu/linux)
I tried to compile ip6_conntrack as a module.
It seems it can't compile as a module without that patch
Is it correct ?
diff -ru linux-2.6.0-test9+usagi-s0031027/include/linux/netfilter.h linux26/include/linux/netfilter.h
--- linux-2.6.0-test9+usagi-s0031027/include/linux/netfilter.h 2003-10-27 17:33:37.000000000 +0100
+++ linux26/include/linux/netfilter.h 2003-10-27 16:33:07.000000000 +0100
@@ -155,7 +155,7 @@
extern void (*ip_ct_attach)(struct sk_buff *, struct nf_ct_info *);
-#ifdef CONFIG_IPV6
+#if defined(CONFIG_IPV6) || defined(CONFIG_IPV6_MODULE)
extern void (*ip6_ct_attach)(struct sk_buff *, struct nf_ct_info *);
#endif
diff -ru linux-2.6.0-test9+usagi-s0031027/net/core/netfilter.c linux26/net/core/netfilter.c
--- linux-2.6.0-test9+usagi-s0031027/net/core/netfilter.c 2003-10-27 17:33:37.000000000 +0100
+++ linux26/net/core/netfilter.c 2003-10-27 16:48:16.000000000 +0100
@@ -749,7 +749,7 @@
and hence manufactured ICMP or RST packets will not be associated
with it. */
void (*ip_ct_attach)(struct sk_buff *, struct nf_ct_info *);
-#ifdef CONFIG_IPV6
+#if defined(CONFIG_IPV6) || defined(CONFIG_IPV6_MODULE)
void (*ip6_ct_attach)(struct sk_buff *, struct nf_ct_info *);
#endif
@@ -764,7 +764,7 @@
}
EXPORT_SYMBOL(ip_ct_attach);
-#ifdef CONFIG_IPV6
+#if defined(CONFIG_IPV6) || defined(CONFIG_IPV6_MODULE)
EXPORT_SYMBOL(ip6_ct_attach);
#endif
EXPORT_SYMBOL(ip_route_me_harder);
--
Laurent