On Wed, Dec 12, 2007 at 06:49:19PM -0800, David Miller wrote: > From: Herbert Xu <[EMAIL PROTECTED]> > Date: Thu, 13 Dec 2007 09:46:23 +0800 > > > [IPSEC]: Make callers of xfrm_lookup to use XFRM_LOOKUP_WAIT
Sorry, I was too quick too :) I managed to invert the DECNet xfrm_lookup call. Here's a fix. [DECNET]: Fix inverted wait flag in xfrm_lookup call My previous patch made the wait flag take the opposite value to what it should be. This patch fixes that. Signed-off-by: Herbert Xu <[EMAIL PROTECTED]> diff --git a/net/decnet/dn_route.c b/net/decnet/dn_route.c index 62f3ae7..2d95cf1 100644 --- a/net/decnet/dn_route.c +++ b/net/decnet/dn_route.c @@ -1197,7 +1197,7 @@ int dn_route_output_sock(struct dst_entry **pprt, struct flowi *fl, struct sock err = __dn_route_output_key(pprt, fl, flags & MSG_TRYHARD); if (err == 0 && fl->proto) { err = xfrm_lookup(pprt, fl, sk, (flags & MSG_DONTWAIT) ? - XFRM_LOOKUP_WAIT : 0); + 0 : XFRM_LOOKUP_WAIT); } return err; } Thanks, -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmV>HI~} <[EMAIL PROTECTED]> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt -- 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