[XFRM]: Expand XFRM_MAX_DEPTH for route optimization.

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>
This commit is contained in:
Masahide NAKAMURA 2006-08-23 17:52:01 -07:00 committed by David S. Miller
parent dc00a52560
commit 622dc8281a

View File

@ -314,7 +314,7 @@ struct xfrm_tmpl
__u32 calgos;
};
#define XFRM_MAX_DEPTH 4
#define XFRM_MAX_DEPTH 6
struct xfrm_policy
{