projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9aff212
)
rxrpc: Make sure sendmsg() is woken on call completion
author
David Howells
<dhowells@redhat.com>
Fri, 23 Sep 2016 11:39:23 +0000
(12:39 +0100)
committer
David Howells
<dhowells@redhat.com>
Fri, 23 Sep 2016 12:23:09 +0000
(13:23 +0100)
Make sure that sendmsg() gets woken up if the call it is waiting for
completes abnormally.
Signed-off-by: David Howells <dhowells@redhat.com>
net/rxrpc/ar-internal.h
patch
|
blob
|
history
diff --git
a/net/rxrpc/ar-internal.h
b/net/rxrpc/ar-internal.h
index b13754a6dd7ac0fff530a71154a5677e22479269..808ab750dc6b3d913eca629ef59dfa0dbf5194b0 100644
(file)
--- a/
net/rxrpc/ar-internal.h
+++ b/
net/rxrpc/ar-internal.h
@@
-758,6
+758,7
@@
static inline bool __rxrpc_set_call_completion(struct rxrpc_call *call,
call->error = error;
call->completion = compl,
call->state = RXRPC_CALL_COMPLETE;
+ wake_up(&call->waitq);
return true;
}
return false;