[XFRM] POLICY: Add Kconfig to support sub policy.

Add Kconfig to support sub policy.

Signed-off-by: Masahide NAKAMURA <nakam@linux-ipv6.org>
Signed-off-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
Masahide NAKAMURA 2006-08-23 22:38:14 -07:00 committed by David S. Miller
parent 01be8e5d59
commit c11f1a15c5
1 changed files with 10 additions and 0 deletions

View File

@ -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