Re: [PATCH net] rxrpc: Don't release call mutex on error pointer

2017-10-21 Thread David Miller
From: David Howells Date: Fri, 20 Oct 2017 17:01:22 +0100 > 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 Dionn

[PATCH net] rxrpc: Don't release call mutex on error pointer

2017-10-20 Thread David Howells
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 Signed-off-by: David Howells --- net/rxrpc/af_rxrpc.c |5 +++--