]> git.baikalelectronics.ru Git - kernel.git/commit
[XFRM] STATE: Allow non IPsec protocol.
authorMasahide NAKAMURA <nakam@linux-ipv6.org>
Thu, 24 Aug 2006 00:49:52 +0000 (17:49 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Fri, 22 Sep 2006 22:06:32 +0000 (15:06 -0700)
commit0d57731e5fd28e88785b66d57282567ad2a3b0b2
tree5ea2b999a564daf2f6fb217db13859db702b4537
parent164f6b1be32773d06235126f28e448f36c4ae760
[XFRM] STATE: Allow non IPsec protocol.

It will be added two more transformation protocols (routing header
and destination options header) for 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.

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>
include/net/xfrm.h
net/xfrm/xfrm_user.c