netfilter: fix missing symbols if CONFIG_NETFILTER_NETLINK_QUEUE_CT unset
authorPablo Neira Ayuso <pablo@netfilter.org>
Tue, 19 Jun 2012 03:25:46 +0000 (05:25 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 19 Jun 2012 04:09:17 +0000 (21:09 -0700)
ERROR: "nfqnl_ct_parse" [net/netfilter/nfnetlink_queue.ko] undefined!
ERROR: "nfqnl_ct_seq_adjust" [net/netfilter/nfnetlink_queue.ko] undefined!
ERROR: "nfqnl_ct_put" [net/netfilter/nfnetlink_queue.ko] undefined!
ERROR: "nfqnl_ct_get" [net/netfilter/nfnetlink_queue.ko] undefined!

We have to use CONFIG_NETFILTER_NETLINK_QUEUE_CT in
include/net/netfilter/nfnetlink_queue.h, not CONFIG_NF_CONNTRACK.

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/netfilter/nfnetlink_queue.h

index 9f8095c108e4314153e2e2cbd42a71348ae1cc3b..86267a529514e2f1ca0e181df54fe62f5a1e0863 100644 (file)
@@ -5,7 +5,7 @@
 
 struct nf_conn;
 
-#if defined(CONFIG_NF_CONNTRACK) || defined(CONFIG_NF_CONNTRACK_MODULE)
+#ifdef CONFIG_NETFILTER_NETLINK_QUEUE_CT
 struct nf_conn *nfqnl_ct_get(struct sk_buff *entskb, size_t *size,
                             enum ip_conntrack_info *ctinfo);
 struct nf_conn *nfqnl_ct_parse(const struct sk_buff *skb,