All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ipvs: Kconfig cleanup
@ 2010-07-02 20:32 Michal Marek
  2010-07-04  7:05 ` Simon Horman
  0 siblings, 1 reply; 5+ messages in thread
From: Michal Marek @ 2010-07-02 20:32 UTC (permalink / raw)
  To: lvs-devel
  Cc: netdev, Julian Anastasov, Simon Horman, Wensong Zhang,
	linux-kernel

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 <mmarek@suse.cz>
---
 net/netfilter/ipvs/Kconfig |    5 +----
 1 files changed, 1 insertions(+), 4 deletions(-)

diff --git a/net/netfilter/ipvs/Kconfig b/net/netfilter/ipvs/Kconfig
index f2d7623..91e7373 100644
--- a/net/netfilter/ipvs/Kconfig
+++ b/net/netfilter/ipvs/Kconfig
@@ -83,19 +83,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.
-- 
1.7.1


^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2010-07-13 12:29 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-07-02 20:32 [PATCH] ipvs: Kconfig cleanup Michal Marek
2010-07-04  7:05 ` Simon Horman
2010-07-04  7:13   ` Simon Horman
2010-07-05  8:43     ` Patrick McHardy
     [not found]       ` <AANLkTim3FfgxTzQ36YYYA8QG605oNW3skHZlSLKAZcjl@mail.gmail.com>
2010-07-13 12:29         ` IPVS scheduler algorithms (was: [PATCH] ipvs: Kconfig cleanup) Simon Horman

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.