All of lore.kernel.org
 help / color / mirror / Atom feed
From: Patrick McHardy <kaber@trash.net>
To: Netfilter Development Mailinglist <netfilter-devel@lists.netfilter.org>
Subject: [NETFILTER]: nf_nat: fix IPsec policy checks
Date: Mon, 06 Nov 2006 15:56:42 +0100	[thread overview]
Message-ID: <454F4D2A.1040907@trash.net> (raw)

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

Fix IPsec NAT with new NAT code. I'll fold it into the main NAT
patch when a few more fixes have accumulated.


[-- Attachment #2: x --]
[-- Type: text/plain, Size: 1093 bytes --]

[NETFILTER]: nf_nat: fix IPsec policy checks

Use corrent config option for nf_nat in nf_nat_decode_session.

Signed-off-by: Patrick McHardy <kaber@trash.net>

---
commit 2f20bca4b86255ad356dd1fbc8f28e2a6c2c9e6b
tree 30fe7565159d867b6918afff8ca74823548f2fa9
parent d2cde0011de62b34c5c0f95ba584962046277953
author Patrick McHardy <kaber@trash.net> Mon, 06 Nov 2006 15:55:47 +0100
committer Patrick McHardy <kaber@trash.net> Mon, 06 Nov 2006 15:55:47 +0100

 include/linux/netfilter.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/include/linux/netfilter.h b/include/linux/netfilter.h
index b7e67d1..2d21fb5 100644
--- a/include/linux/netfilter.h
+++ b/include/linux/netfilter.h
@@ -331,7 +331,7 @@ extern void (*ip_nat_decode_session)(str
 static inline void
 nf_nat_decode_session(struct sk_buff *skb, struct flowi *fl, int family)
 {
-#ifdef CONFIG_IP_NF_NAT_NEEDED
+#if defined(CONFIG_IP_NF_NAT_NEEDED) || defined(CONFIG_NF_NAT_NEEDED)
 	void (*decodefn)(struct sk_buff *, struct flowi *);
 
 	if (family == AF_INET && (decodefn = ip_nat_decode_session) != NULL)

                 reply	other threads:[~2006-11-06 14:56 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=454F4D2A.1040907@trash.net \
    --to=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.