Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net
[linux-block.git] / include / net / netfilter / nf_conntrack_core.h
index de10faf2ce91e7962825d039af3a44859db57a12..71a2d9cb64ea9f936655b670384255ca48f0fe64 100644 (file)
 /* This header is used to share core functionality between the
    standalone connection tracking module, and the compatibility layer's use
    of connection tracking. */
+
+#if IS_ENABLED(CONFIG_NETFILTER)
 unsigned int nf_conntrack_in(struct sk_buff *skb, const struct nf_hook_state *state);
+#endif
 
 int nf_conntrack_init_net(struct net *net);
 void nf_conntrack_cleanup_net(struct net *net);