Skip to content

Commit

Permalink
[XFRM]: Expand XFRM_MAX_DEPTH for route optimization.
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Masahide NAKAMURA authored and David S. Miller committed Sep 22, 2006
1 parent dc00a52 commit 622dc82
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/net/xfrm.h
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,7 @@ struct xfrm_tmpl
__u32 calgos;
};

#define XFRM_MAX_DEPTH 4
#define XFRM_MAX_DEPTH 6

struct xfrm_policy
{
Expand Down

0 comments on commit 622dc82

Please sign in to comment.