From: Patrick McHardy Date: Thu, 10 Feb 2011 09:13:07 +0000 (+0100) Subject: netfilter: ipset: add dependency on CONFIG_NETFILTER_NETLINK X-Git-Tag: v2.6.39-rc1~468^2~182^2~12 X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=c16e19c11730199c1df686b160c9c972ad28baf8;p=~shefty%2Frdma-dev.git netfilter: ipset: add dependency on CONFIG_NETFILTER_NETLINK When SYSCTL and PROC_FS and NETFILTER_NETLINK are not enabled: net/built-in.o: In function `try_to_load_type': ip_set_core.c:(.text+0x3ab49): undefined reference to `nfnl_unlock' ip_set_core.c:(.text+0x3ab4e): undefined reference to `nfnl_lock' ... Reported-by: Randy Dunlap Acked-by: Randy Dunlap Signed-off-by: Patrick McHardy --- diff --git a/net/netfilter/ipset/Kconfig b/net/netfilter/ipset/Kconfig index 3b970d34302..2c5b348eb3a 100644 --- a/net/netfilter/ipset/Kconfig +++ b/net/netfilter/ipset/Kconfig @@ -1,6 +1,7 @@ menuconfig IP_SET tristate "IP set support" depends on INET && NETFILTER + depends on NETFILTER_NETLINK help This option adds IP set support to the kernel. In order to define and use the sets, you need the userspace utility