]> err.no Git - linux-2.6/commitdiff
[XFRM]: Expand XFRM_MAX_DEPTH for route optimization.
authorMasahide NAKAMURA <nakam@linux-ipv6.org>
Thu, 24 Aug 2006 00:52:01 +0000 (17:52 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Fri, 22 Sep 2006 22:06:33 +0000 (15:06 -0700)
XFRM_MAX_DEPTH is a limit of transformation states to be applied to the same
flow. Two more extension headers are used by Mobile IPv6 transformation.
Based on MIPL2 kernel patch.

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>
include/net/xfrm.h

index 2a7d2132a1ae553320c79506fa74d956c4f9070d..aa3be68041be34680eb0b2d9f2dd321b396cd477 100644 (file)
@@ -314,7 +314,7 @@ struct xfrm_tmpl
        __u32                   calgos;
 };
 
-#define XFRM_MAX_DEPTH         4
+#define XFRM_MAX_DEPTH         6
 
 struct xfrm_policy
 {