Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c0d058c2 authored by David Howells's avatar David Howells
Browse files

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: default avatarDavid Howells <dhowells@redhat.com>
parent 9aff212b
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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;