From: Masahide NAKAMURA Date: Thu, 24 Aug 2006 05:38:14 +0000 (-0700) Subject: [XFRM] POLICY: Add Kconfig to support sub policy. X-Git-Tag: v2.6.19-rc1~1272^2~149 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c11f1a15c522ddd3bbd2c32b5ce3e0b1831b22f2;p=linux-2.6 [XFRM] POLICY: Add Kconfig to support sub policy. Add Kconfig to support sub policy. Signed-off-by: Masahide NAKAMURA Signed-off-by: YOSHIFUJI Hideaki Signed-off-by: David S. Miller --- diff --git a/net/xfrm/Kconfig b/net/xfrm/Kconfig index 43228f7fd3..0faab63325 100644 --- a/net/xfrm/Kconfig +++ b/net/xfrm/Kconfig @@ -14,6 +14,16 @@ config XFRM_USER If unsure, say Y. +config XFRM_SUB_POLICY + bool "Transformation sub policy support (EXPERIMENTAL)" + depends on XFRM && EXPERIMENTAL + ---help--- + Support sub policy for developers. By using sub policy with main + one, two policies can be applied to the same packet at once. + Policy which lives shorter time in kernel should be a sub. + + If unsure, say N. + config NET_KEY tristate "PF_KEY sockets" select XFRM