: Expand XFRM_MAX_DEPTH for routing header and destination options header.
Subsystems (3)
PATCH 13/23 : Expand XFRM_MAX_DEPTH for routing header and destination options header.
XFRM_MAX_DEPTH is a limit of transformation states to be applied to the same flow. Two extension headers are used by Mobile IPv6 transformation. Based on MIPL2 kernel patch.
--- include/net/xfrm.h | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-)
include/net/xfrm.h +4 -0
@@ -327,7 +327,11 @@ struct xfrm_tmpl__u32 calgos; }; +#ifdef CONFIG_XFRM_ADVANCED +#define XFRM_MAX_DEPTH 6 +#else #define XFRM_MAX_DEPTH 4 +#endif struct xfrm_policy {
Signature · 1 line
1.4.1
David Miller
maintainerFrom: Masahide NAKAMURA <[email protected]>
Date: Sat, 29 Jul 2006 18:30:36 +0900
include/net/xfrm.h struct xfrm_tmpl · line 334
Quoted 5 lines
include/net/xfrm.h +4
-0+#ifdef CONFIG_XFRM_ADVANCED +#define XFRM_MAX_DEPTH 6 +#else #define XFRM_MAX_DEPTH 4 +#endif
Since I suggest to eliminate XFRM_ADVANCED, we should do "6" always here if that is what is needed.