Skip to content

Commit

Permalink
rxrpc: Make sure sendmsg() is woken on call completion
Browse files Browse the repository at this point in the history
Make sure that sendmsg() gets woken up if the call it is waiting for
completes abnormally.

Signed-off-by: David Howells <dhowells@redhat.com>
  • Loading branch information
David Howells committed Sep 23, 2016
1 parent 9aff212 commit c0d058c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions net/rxrpc/ar-internal.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit c0d058c

Please sign in to comment.