From: Herbert Xu <[EMAIL PROTECTED]> Date: Fri, 14 Dec 2007 00:44:48 +0800
> [IPSEC]: Fix zero return value in xfrm_lookup on error > > Further testing shows that my ICMP relookup patch can cause xfrm_lookup > to return zero on error which isn't very nice since it leads to the caller > dying on null pointer dereference. The bug is due to not setting err > to ENOENT just before we leave xfrm_lookup in case of no policy. > > This patch moves the err setting to where it should be. > > Signed-off-by: Herbert Xu <[EMAIL PROTECTED]> Applied, thanks. -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html