Skip to content
Commit 108586eb authored by Zhengchao Shao's avatar Zhengchao Shao Committed by Herbert Xu
Browse files

crypto: sahara - don't sleep when in softirq



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: default avatarZhengchao Shao <shaozhengchao@huawei.com>
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent 568035b0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment