netfilter: fix build failure with CONNTRACK=y NAT=n
authorFlorian Westphal <fwestphal@astaro.com>
Mon, 8 Feb 2010 14:39:16 +0000 (15:39 +0100)
committerPatrick McHardy <kaber@trash.net>
Mon, 8 Feb 2010 14:39:16 +0000 (15:39 +0100)
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>
net/ipv4/netfilter/nf_defrag_ipv4.c

index 77627fa80561338a7652bd0d4c86e6a987f8cba4..f6f46686cbc0a1bcd9a38e0e7f77750271e1825d 100644 (file)
@@ -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)