summaryrefslogtreecommitdiffstats
path: root/net/ipv4
diff options
context:
space:
mode:
authorFlorian Westphal <fwestphal@astaro.com>2010-02-08 15:39:16 +0100
committerPatrick McHardy <kaber@trash.net>2010-02-08 15:39:16 +0100
commit76780373190d7e8ddfb6fed06aef068e2445c743 (patch)
treec0aa2a4f5ca026a236b1a65c55d613f38c0917b3 /net/ipv4
parent84f3bb9ae9db90f7fb15d98b55279a58ab1b2363 (diff)
downloadop-kernel-dev-76780373190d7e8ddfb6fed06aef068e2445c743.zip
op-kernel-dev-76780373190d7e8ddfb6fed06aef068e2445c743.tar.gz
netfilter: fix build failure with CONNTRACK=y NAT=n
net/ipv4/netfilter/nf_defrag_ipv4.c: In function 'ipv4_conntrack_defrag': net/ipv4/netfilter/nf_defrag_ipv4.c:62: error: implicit declaration of function 'nf_ct_is_template' Signed-off-by: Florian Westphal <fwestphal@astaro.com> Signed-off-by: Patrick McHardy <kaber@trash.net>
Diffstat (limited to 'net/ipv4')
-rw-r--r--net/ipv4/netfilter/nf_defrag_ipv4.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/ipv4/netfilter/nf_defrag_ipv4.c b/net/ipv4/netfilter/nf_defrag_ipv4.c
index 77627fa..f6f4668 100644
--- a/net/ipv4/netfilter/nf_defrag_ipv4.c
+++ b/net/ipv4/netfilter/nf_defrag_ipv4.c
@@ -17,6 +17,7 @@
#include <linux/netfilter_bridge.h>
#include <linux/netfilter_ipv4.h>
#include <net/netfilter/ipv4/nf_defrag_ipv4.h>
+#include <net/netfilter/nf_conntrack.h>
/* Returns new sk_buff, or NULL */
static int nf_ct_ipv4_gather_frags(struct sk_buff *skb, u_int32_t user)
OpenPOWER on IntegriCloud