Re: [PATCH] rxrpc: fix bad unlock balance in rxrpc_do_sendmsg
From: Khalid Masum
Date: Mon Aug 22 2022 - 09:55:59 EST
>
> /*
> + * @holding_mutex: An indication whether caller can still holds
> + * the call->user_mutex when returned to caller.
Maybe we can use mutex_is_locked instead of using the holding_mutex
parameter to get whether call->user_mutex is still held.
https://www.kernel.org/doc/htmldocs/kernel-locking/API-mutex-is-locked.html
> + * This argument can be NULL, which will effect nothing.
> + *
> * Wait for space to appear in the Tx queue or a signal to occur.
> */
>
thanks,
-- Khalid Masum