diff options
author | David Howells <dhowells@redhat.com> | 2017-10-20 18:01:22 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-10-22 04:05:39 +0200 |
commit | 6cb3ece9685f78f9b288dd2afea58c35784e40b8 (patch) | |
tree | 64c816bc23b70513cd8f44638d40486acbbc8fb2 /lib/ts_fsm.c | |
parent | Merge branch 'stmmac-hw-tstamp-fixes' (diff) | |
download | linux-6cb3ece9685f78f9b288dd2afea58c35784e40b8.tar.xz linux-6cb3ece9685f78f9b288dd2afea58c35784e40b8.zip |
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>
Diffstat (limited to 'lib/ts_fsm.c')
0 files changed, 0 insertions, 0 deletions