aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorian Westphal <fw@strlen.de>2018-01-11 09:21:29 +0100
committerPablo Neira Ayuso <pablo@netfilter.org>2018-01-11 13:12:26 +0100
commit5ed001baeeffccaa63d13a433e8dc99ae6c017ad (patch)
tree65d4c62a41eae36f907a7f79e2706ae938fe5f54
parentnetfilter: improve flow table Kconfig dependencies (diff)
downloadlinux-dev-5ed001baeeffccaa63d13a433e8dc99ae6c017ad.tar.xz
linux-dev-5ed001baeeffccaa63d13a433e8dc99ae6c017ad.zip
netfilter: clusterip: make sure arp hooks are available
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>
-rw-r--r--net/ipv4/netfilter/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/ipv4/netfilter/Kconfig b/net/ipv4/netfilter/Kconfig
index 3ad46a90b0fc..f28b08819f89 100644
--- a/net/ipv4/netfilter/Kconfig
+++ b/net/ipv4/netfilter/Kconfig
@@ -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