All of lore.kernel.org
 help / color / mirror / Atom feed
* [NETFILTER]: nf_nat: fix IPsec policy checks
@ 2006-11-06 14:56 Patrick McHardy
  0 siblings, 0 replies; only message in thread
From: Patrick McHardy @ 2006-11-06 14:56 UTC (permalink / raw)
  To: Netfilter Development Mailinglist

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

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2006-11-06 14:56 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-11-06 14:56 [NETFILTER]: nf_nat: fix IPsec policy checks Patrick McHardy

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.