summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2016-09-23 13:39:23 +0200
committerDavid Howells <dhowells@redhat.com>2016-09-23 14:23:09 +0200
commitc0d058c21c69b3685c3f1bb008aa11f1a5eaee7e (patch)
treeb4d68e69cda27dbabc900d0052d685f1c2f1a5d3 /net
parentrxrpc: Don't send an ACK at the end of service call response transmission (diff)
downloadlinux-c0d058c21c69b3685c3f1bb008aa11f1a5eaee7e.tar.xz
linux-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.h1
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;