projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a662071
)
[DECNET]: Fix inverted wait flag in xfrm_lookup call
author
Herbert Xu
<herbert@gondor.apana.org.au>
Thu, 13 Dec 2007 13:24:40 +0000
(
05:24
-0800)
committer
David S. Miller
<davem@davemloft.net>
Mon, 28 Jan 2008 22:57:44 +0000
(14:57 -0800)
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>
net/decnet/dn_route.c
patch
|
blob
|
blame
|
history
diff --git
a/net/decnet/dn_route.c
b/net/decnet/dn_route.c
index 73a13075b7eeae0d50e9325388eb1e9853a2e522..b712d0b36526877b7886bceb991fb569be2d33fd 100644
(file)
--- 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;
}