Re: [PATCH 15/23] [PATCH] [XFRM] STATE: Allow non IPsec protocol.

2006-08-01 Thread David Miller
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

[PATCH 15/23] [PATCH] [XFRM] STATE: Allow non IPsec protocol.

2006-07-29 Thread Masahide NAKAMURA
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