[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 <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
Herbert Xu 2007-12-13 05:24:40 -08:00 committed by David S. Miller
parent a66207121f
commit 96eba69dba
1 changed files with 1 additions and 1 deletions

View File

@ -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); err = __dn_route_output_key(pprt, fl, flags & MSG_TRYHARD);
if (err == 0 && fl->proto) { if (err == 0 && fl->proto) {
err = xfrm_lookup(pprt, fl, sk, (flags & MSG_DONTWAIT) ? err = xfrm_lookup(pprt, fl, sk, (flags & MSG_DONTWAIT) ?
XFRM_LOOKUP_WAIT : 0); 0 : XFRM_LOOKUP_WAIT);
} }
return err; return err;
} }