From: Masahide NAKAMURA Date: Thu, 24 Aug 2006 00:52:01 +0000 (-0700) Subject: [XFRM]: Expand XFRM_MAX_DEPTH for route optimization. X-Git-Tag: Ubuntu-5.4-5.4.0-11.14~49871^2~185 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=622dc8281a80374873686514e46f852093d91106;p=mirror_ubuntu-focal-kernel.git [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 Signed-off-by: YOSHIFUJI Hideaki Signed-off-by: David S. Miller --- diff --git a/include/net/xfrm.h b/include/net/xfrm.h index 2a7d2132a1ae..aa3be68041be 100644 --- a/include/net/xfrm.h +++ b/include/net/xfrm.h @@ -314,7 +314,7 @@ struct xfrm_tmpl __u32 calgos; }; -#define XFRM_MAX_DEPTH 4 +#define XFRM_MAX_DEPTH 6 struct xfrm_policy {