netfilter: clusterip: make sure arp hooks are available
authorFlorian Westphal <fw@strlen.de>
Thu, 11 Jan 2018 08:21:29 +0000 (09:21 +0100)
committerPablo Neira Ayuso <pablo@netfilter.org>
Thu, 11 Jan 2018 12:12:26 +0000 (13:12 +0100)
The clusterip target needs to register an arp mangling hook,
so make sure NF_ARP hooks are available.

Fixes: 2a95183a5e ("netfilter: don't allocate space for arp/bridge hooks unless needed")
Reported-by: kernel test robot <fengguang.wu@intel.com>
Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/ipv4/netfilter/Kconfig

index 3ad46a9..f28b088 100644 (file)
@@ -343,6 +343,7 @@ config IP_NF_TARGET_CLUSTERIP
        depends on NF_CONNTRACK_IPV4
        depends on NETFILTER_ADVANCED
        select NF_CONNTRACK_MARK
+       select NETFILTER_FAMILY_ARP
        help
          The CLUSTERIP target allows you to build load-balancing clusters of
          network servers without having a dedicated load-balancing