From: Michal Marek Date: Mon, 5 Jul 2010 08:42:37 +0000 (+0200) Subject: ipvs: Kconfig cleanup X-Git-Tag: v3.0~4150^2~46^2~24 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=72c7664f9278b31fcf6b7828c1417caca5b68104;p=platform%2Fkernel%2Flinux-amlogic.git ipvs: Kconfig cleanup IP_VS_PROTO_AH_ESP should be set iff either of IP_VS_PROTO_{AH,ESP} is selected. Express this with standard kconfig syntax. Signed-off-by: Michal Marek Acked-by: Simon Horman Signed-off-by: Patrick McHardy --- diff --git a/net/netfilter/ipvs/Kconfig b/net/netfilter/ipvs/Kconfig index 712ccad..d80b41a 100644 --- a/net/netfilter/ipvs/Kconfig +++ b/net/netfilter/ipvs/Kconfig @@ -87,19 +87,16 @@ config IP_VS_PROTO_UDP protocol. Say Y if unsure. config IP_VS_PROTO_AH_ESP - bool - depends on UNDEFINED + def_bool IP_VS_PROTO_ESP || IP_VS_PROTO_AH config IP_VS_PROTO_ESP bool "ESP load balancing support" - select IP_VS_PROTO_AH_ESP ---help--- This option enables support for load balancing ESP (Encapsulation Security Payload) transport protocol. Say Y if unsure. config IP_VS_PROTO_AH bool "AH load balancing support" - select IP_VS_PROTO_AH_ESP ---help--- This option enables support for load balancing AH (Authentication Header) transport protocol. Say Y if unsure.