netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Olaf Kirch <okir@suse.de>
To: netdev@oss.sgi.com
Subject: [PATCH] 2.6: allow CONFIG_NETFILTER=n and CONFIG_XFRM=y
Date: Tue, 27 Apr 2004 17:35:09 +0200	[thread overview]
Message-ID: <20040427153509.GD6836@suse.de> (raw)

[-- 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>
 

             reply	other threads:[~2004-04-27 15:35 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-04-27 15:35 Olaf Kirch [this message]
2004-04-27 21:34 ` [PATCH] 2.6: allow CONFIG_NETFILTER=n and CONFIG_XFRM=y 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=20040427153509.GD6836@suse.de \
    --to=okir@suse.de \
    --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 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).