netfilter-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH nftables] nftables: fix compilation when nf-netlink is a module
@ 2013-03-06 10:26 Nicolas Dichtel
  2013-03-06 11:20 ` Nicolas Dichtel
  0 siblings, 1 reply; 4+ messages in thread
From: Nicolas Dichtel @ 2013-03-06 10:26 UTC (permalink / raw)
  To: pablo; +Cc: netfilter-devel, Nicolas Dichtel

nftables uses nfnl_[un]lock() and thus depends on CONFIG_NETFILTER_NETLINK.
It's not possible to have nftables built-in when CONFIG_NETFILTER_NETLINK is set
to m.

Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
---
 net/netfilter/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/net/netfilter/Kconfig b/net/netfilter/Kconfig
index 7d1c3c0..acf6705 100644
--- a/net/netfilter/Kconfig
+++ b/net/netfilter/Kconfig
@@ -430,6 +430,7 @@ config NETFILTER_XTABLES
 	  ip6_tables or arp_tables.
 
 config NF_TABLES
+       depends on NETFILTER_NETLINK
        tristate "Netfilter nf_tables support"
 
 config NFT_PAYLOAD
-- 
1.8.0.1


^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2013-03-14 15:43 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-03-06 10:26 [PATCH nftables] nftables: fix compilation when nf-netlink is a module Nicolas Dichtel
2013-03-06 11:20 ` Nicolas Dichtel
2013-03-06 13:42   ` [PATCH nftables v2] " Nicolas Dichtel
2013-03-14 15:43     ` Pablo Neira Ayuso

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).