diff options
author | Jozsef Kadlecsik <kadlec@blackhole.kfki.hu> | 2013-09-17 10:32:58 +0200 |
---|---|---|
committer | Jozsef Kadlecsik <kadlec@blackhole.kfki.hu> | 2013-09-17 10:32:58 +0200 |
commit | 7f106caaa36ea449a1641345d777f96d156bb03e (patch) | |
tree | d337f3542e3ace6807e22418064e0bc60ad4bfb0 /kernel/include/linux | |
parent | 583c17b746a30210a75dadd2aeb87eded3d2b5ca (diff) |
Kconfig: ipset needs NETFILTER_NETLINK
NETFILTER_NETLINK is not selectable in recent kernels, check and warn
if not enabled indirectly.
Diffstat (limited to 'kernel/include/linux')
-rw-r--r-- | kernel/include/linux/netfilter/ipset/ip_set_compat.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/kernel/include/linux/netfilter/ipset/ip_set_compat.h b/kernel/include/linux/netfilter/ipset/ip_set_compat.h index 7c10816..cdc8f53 100644 --- a/kernel/include/linux/netfilter/ipset/ip_set_compat.h +++ b/kernel/include/linux/netfilter/ipset/ip_set_compat.h @@ -26,6 +26,11 @@ #endif #endif +#if defined(CONFIG_NETFILTER_NETLINK) || defined(CONFIG_NETFILTER_NETLINK_MODULE) +#else +#error "NETFILTER_NETLINK must be enabled: select NFACCT/NFQUEUE/LOG over NFNETLINK" +#endif + #if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 35) #define xt_action_param xt_match_param #endif |