IPsec: fix handling of errors for socket policies
authorVenkat Yekkirala <vyekkirala@trustedcs.com>
Thu, 5 Oct 2006 20:42:35 +0000 (15:42 -0500)
committerDavid S. Miller <davem@sunset.davemloft.net>
Thu, 12 Oct 2006 06:59:39 +0000 (23:59 -0700)
commit3bccfbc7a7ba4085817deae6e7c67daf0cbd045a
tree3dc11929f87eccaecf00c8e253fd0c834f3953d8
parent5b368e61c2bcb2666bb66e2acf1d6d85ba6f474d
IPsec: fix handling of errors for socket policies

This treats the security errors encountered in the case of
socket policy matching, the same as how these are treated in
the case of main/sub policies, which is to return a full lookup
failure.

Signed-off-by: Venkat Yekkirala <vyekkirala@TrustedCS.com>
Signed-off-by: James Morris <jmorris@namei.org>
net/xfrm/xfrm_policy.c