[XFRM]: Restrict authentication algorithm only when inbound transformation protocol...
authorMasahide NAKAMURA <nakam@linux-ipv6.org>
Thu, 24 Aug 2006 01:00:48 +0000 (18:00 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Fri, 22 Sep 2006 22:06:38 +0000 (15:06 -0700)
commitf3bd484021d9486b826b422a017d75dd0bd258ad
tree52ec4e50183dffc02d33bd3cfcafe4cbc2022910
parent1d71627d699eca831c1fbfb66ea67bb1fba41415
[XFRM]: Restrict authentication algorithm only when inbound transformation protocol is IPsec.

For Mobile IPv6 usage, routing header or destination options header is
used and it doesn't require this comparison. It is checked only for
IPsec template.

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>
net/xfrm/xfrm_policy.c