Re: [PATCH v3] crypto: sahara - don't sleep when in softirq

From: Herbert Xu
Date: Fri Aug 19 2022 - 06:58:24 EST


On Mon, Jul 25, 2022 at 12:09:28PM +0800, Zhengchao Shao wrote:
> Function of sahara_aes_crypt maybe could be called by function
> of crypto_skcipher_encrypt during the rx softirq, so it is not
> allowed to use mutex lock.
>
> Signed-off-by: Zhengchao Shao <shaozhengchao@xxxxxxxxxx>
> ---
> This patch is not yet tested, compiled only.
> ---
> drivers/crypto/sahara.c | 18 +++++++++---------
> 1 file changed, 9 insertions(+), 9 deletions(-)

Patch applied. Thanks.
--
Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt