diff options
author | Zhengchao Shao <shaozhengchao@huawei.com> | 2022-07-25 12:09:28 +0800 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2022-08-19 18:39:33 +0800 |
commit | 108586eba094b318e6a831f977f4ddcc403a15da (patch) | |
tree | 914d96e6c7899271574a7ba791bc5018b2e3388e /lib/crypto/utils.c | |
parent | 568035b01cfb107af8d2e4bd2fb9aea22cf5b868 (diff) | |
download | linux-108586eba094b318e6a831f977f4ddcc403a15da.tar.gz linux-108586eba094b318e6a831f977f4ddcc403a15da.tar.bz2 linux-108586eba094b318e6a831f977f4ddcc403a15da.zip |
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: c0c3c89ae347 ("crypto: sahara - replace tasklets with...")
Signed-off-by: Zhengchao Shao <shaozhengchao@huawei.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'lib/crypto/utils.c')
0 files changed, 0 insertions, 0 deletions