From: Masahide NAKAMURA <[EMAIL PROTECTED]>
Date: Sat, 29 Jul 2006 18:30:40 +0900
> static inline int xfrm_id_proto_match(u8 proto, u8 userproto)
> {
> +#ifdef CONFIG_XFRM_ADVANCED
> + return (!userproto || proto == userproto ||
> + (userproto == IPSEC_PROTO_ANY && (proto == IPPR
It will be added two more transformation protocols (routing header
and destination options header) by Mobile IPv6.
xfrm_id_proto_match() can be handle zero as all, IPSEC_PROTO_ANY as
all IPsec and otherwise as exact one.
Based on MIPL2 kernel patch.
---
include/net/xfrm.h |7 +++
net/xf