diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2007-12-13 08:24:40 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-01-28 17:57:44 -0500 |
commit | 96eba69dbac767f4e287df39e6fa489d37f1aa7b (patch) | |
tree | 195b2cb1e2467eecffe4ce1fd76bfd6bc2cfeb99 /net/decnet/dn_route.c | |
parent | a66207121f85c54a3df4d347a3c5bdf6cb154b09 (diff) |
[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>
Diffstat (limited to 'net/decnet/dn_route.c')
-rw-r--r-- | net/decnet/dn_route.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/decnet/dn_route.c b/net/decnet/dn_route.c index 73a13075b7ee..b712d0b36526 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 | |||
1197 | err = __dn_route_output_key(pprt, fl, flags & MSG_TRYHARD); | 1197 | err = __dn_route_output_key(pprt, fl, flags & MSG_TRYHARD); |
1198 | if (err == 0 && fl->proto) { | 1198 | if (err == 0 && fl->proto) { |
1199 | err = xfrm_lookup(pprt, fl, sk, (flags & MSG_DONTWAIT) ? | 1199 | err = xfrm_lookup(pprt, fl, sk, (flags & MSG_DONTWAIT) ? |
1200 | XFRM_LOOKUP_WAIT : 0); | 1200 | 0 : XFRM_LOOKUP_WAIT); |
1201 | } | 1201 | } |
1202 | return err; | 1202 | return err; |
1203 | } | 1203 | } |