Commit c11f1a15 authored by Masahide NAKAMURA's avatar Masahide NAKAMURA Committed by David S. Miller

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

Add Kconfig to support sub policy.
Signed-off-by: default avatarMasahide NAKAMURA <nakam@linux-ipv6.org>
Signed-off-by: default avatarYOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 01be8e5d
...@@ -14,6 +14,16 @@ config XFRM_USER ...@@ -14,6 +14,16 @@ config XFRM_USER
If unsure, say Y. 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 config NET_KEY
tristate "PF_KEY sockets" tristate "PF_KEY sockets"
select XFRM select XFRM
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment