summaryrefslogtreecommitdiffstats
path: root/include/net
diff options
context:
space:
mode:
authorMasahide NAKAMURA <nakam@linux-ipv6.org>2006-08-24 02:52:01 +0200
committerDavid S. Miller <davem@sunset.davemloft.net>2006-09-23 00:06:33 +0200
commit622dc8281a80374873686514e46f852093d91106 (patch)
tree21ea09f939b3fe56e346b92fb07eaebc58e6f2a2 /include/net
parent[XFRM] STATE: Allow non IPsec protocol. (diff)
downloadlinux-622dc8281a80374873686514e46f852093d91106.tar.xz
linux-622dc8281a80374873686514e46f852093d91106.zip
[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>
Diffstat (limited to 'include/net')
-rw-r--r--include/net/xfrm.h2
1 files changed, 1 insertions, 1 deletions
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
{