diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2012-06-19 05:25:46 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-06-18 21:09:17 -0700 |
commit | 674147e21195a496164e1c7ff70d0f0b45235f25 (patch) | |
tree | 8327a95f7f84c52150c7be1c26c29a91d0eacbfa /include/net | |
parent | 6bdc5f49e365a5403b9fdef01ceb37241ab00f9b (diff) | |
download | op-kernel-dev-674147e21195a496164e1c7ff70d0f0b45235f25.zip op-kernel-dev-674147e21195a496164e1c7ff70d0f0b45235f25.tar.gz |
netfilter: fix missing symbols if CONFIG_NETFILTER_NETLINK_QUEUE_CT unset
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>
Diffstat (limited to 'include/net')
-rw-r--r-- | include/net/netfilter/nfnetlink_queue.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/netfilter/nfnetlink_queue.h b/include/net/netfilter/nfnetlink_queue.h index 9f8095c..86267a5 100644 --- a/include/net/netfilter/nfnetlink_queue.h +++ b/include/net/netfilter/nfnetlink_queue.h @@ -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, |