netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] 2.6: allow CONFIG_NETFILTER=n and CONFIG_XFRM=y
@ 2004-04-27 15:35 Olaf Kirch
  2004-04-27 21:34 ` Patrick McHardy
  0 siblings, 1 reply; 2+ messages in thread
From: Olaf Kirch @ 2004-04-27 15:35 UTC (permalink / raw)
  To: netdev

[-- Attachment #1: Type: text/plain, Size: 201 bytes --]

Hi,

the following patch should fix a compile error when setting
CONFIG_NETFILTER=n and CONFIG_XFRM=y.

Cheers,
Olaf
-- 
Olaf Kirch     |  The Hardware Gods hate me.
okir@suse.de   |
---------------+ 

[-- Attachment #2: netfilter-config --]
[-- Type: text/plain, Size: 498 bytes --]

This patch makes sure the kernel can be compiled with CONFIG_XFRM=y and
CONFIG_NETFILTER off.

--- linux-2.6.5/include/linux/netfilter_ipv4.h.dbg	2004-04-27 13:00:55.000000000 +0200
+++ linux-2.6.5/include/linux/netfilter_ipv4.h	2004-04-27 13:15:24.000000000 +0200
@@ -86,7 +86,7 @@
 extern int skb_ip_make_writable(struct sk_buff **pskb,
 				unsigned int writable_len);
 
-#ifdef CONFIG_XFRM
+#if defined(CONFIG_XFRM) && defined(CONFIG_NETFILTER)
 #include <net/route.h>
 #include <net/xfrm.h>
 

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-04-27 21:34 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-04-27 15:35 [PATCH] 2.6: allow CONFIG_NETFILTER=n and CONFIG_XFRM=y Olaf Kirch
2004-04-27 21:34 ` Patrick McHardy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).