crypto: sahara - don't sleep when in softirq
stable inclusion from stable-v5.10.150 commit 25f13424737232d5ef5337916dac9fe303b5b0c6 category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/I6D0XA Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=25f13424737232d5ef5337916dac9fe303b5b0c6 -------------------------------- [ Upstream commit 108586eb ] 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. Fixes: c0c3c89a ("crypto: sahara - replace tasklets with...") Signed-off-by:Zhengchao Shao <shaozhengchao@huawei.com> Signed-off-by:
Herbert Xu <herbert@gondor.apana.org.au> Signed-off-by:
Sasha Levin <sashal@kernel.org> Signed-off-by:
Jialin Zhang <zhangjialin11@huawei.com>
Loading
Please sign in to comment