summaryrefslogtreecommitdiffstats
path: root/include/net
diff options
context:
space:
mode:
authorPatrick McHardy <kaber@trash.net>2007-08-08 03:12:01 +0200
committerDavid S. Miller <davem@davemloft.net>2007-08-08 03:12:01 +0200
commit591e620693e71e24fb3450a4084217e44b7a60b6 (patch)
treee651e7beaca45a99b89bd63d33419c5b97477a28 /include/net
parent[NETFILTER]: ctnetlink: return EEXIST instead of EINVAL for existing nat'ed c... (diff)
downloadlinux-591e620693e71e24fb3450a4084217e44b7a60b6.tar.xz
linux-591e620693e71e24fb3450a4084217e44b7a60b6.zip
[NETFILTER]: nf_nat: add symbolic dependency on IPv4 conntrack
Loading nf_nat causes the conntrack core to be loaded, but we need IPv4 as well. Signed-off-by: Patrick McHardy <kaber@trash.net> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net')
-rw-r--r--include/net/netfilter/ipv4/nf_conntrack_ipv4.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/net/netfilter/ipv4/nf_conntrack_ipv4.h b/include/net/netfilter/ipv4/nf_conntrack_ipv4.h
index 7a671603fca6..9bf059817aec 100644
--- a/include/net/netfilter/ipv4/nf_conntrack_ipv4.h
+++ b/include/net/netfilter/ipv4/nf_conntrack_ipv4.h
@@ -21,4 +21,6 @@ extern struct nf_conntrack_l4proto nf_conntrack_l4proto_icmp;
extern int nf_conntrack_ipv4_compat_init(void);
extern void nf_conntrack_ipv4_compat_fini(void);
+extern void need_ipv4_conntrack(void);
+
#endif /*_NF_CONNTRACK_IPV4_H*/