commit | 6cb3ece9685f78f9b288dd2afea58c35784e40b8 | [log] [tgz] |
---|---|---|
author | David Howells <dhowells@redhat.com> | Fri Oct 20 17:01:22 2017 +0100 |
committer | David S. Miller <davem@davemloft.net> | Sun Oct 22 03:05:39 2017 +0100 |
tree | 64c816bc23b70513cd8f44638d40486acbbc8fb2 | |
parent | 748759d57e1b33427113bad7dc685ea3c139649e [diff] |
rxrpc: Don't release call mutex on error pointer Don't release call mutex at the end of rxrpc_kernel_begin_call() if the call pointer actually holds an error value. Fixes: 540b1c48c37a ("rxrpc: Fix deadlock between call creation and sendmsg/recvmsg") Reported-by: Marc Dionne <marc.dionne@auristor.com> Signed-off-by: David Howells <dhowells@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>