diff options
author | David Howells <dhowells@redhat.com> | 2016-09-23 12:39:23 +0100 |
---|---|---|
committer | David Howells <dhowells@redhat.com> | 2016-09-23 13:23:09 +0100 |
commit | c0d058c21c69b3685c3f1bb008aa11f1a5eaee7e (patch) | |
tree | b4d68e69cda27dbabc900d0052d685f1c2f1a5d3 /net | |
parent | 9aff212bd677829189fae2e2e408cefc196ae5ae (diff) | |
download | linux-stable-c0d058c21c69b3685c3f1bb008aa11f1a5eaee7e.tar.gz linux-stable-c0d058c21c69b3685c3f1bb008aa11f1a5eaee7e.tar.bz2 linux-stable-c0d058c21c69b3685c3f1bb008aa11f1a5eaee7e.zip |
rxrpc: Make sure sendmsg() is woken on call completion
Make sure that sendmsg() gets woken up if the call it is waiting for
completes abnormally.
Signed-off-by: David Howells <dhowells@redhat.com>
Diffstat (limited to 'net')
-rw-r--r-- | net/rxrpc/ar-internal.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/rxrpc/ar-internal.h b/net/rxrpc/ar-internal.h index b13754a6dd7a..808ab750dc6b 100644 --- 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; |