diff options
author | Mikulas Patocka | 2020-06-17 09:49:52 -0400 |
---|---|---|
committer | Herbert Xu | 2020-06-26 14:46:42 +1000 |
commit | 5ead051780404b5cb22147170acadd1994dc3236 (patch) | |
tree | 02f906e3f4596538bd09df3a4457e54c2b7c4bc8 /drivers/vlynq | |
parent | 9e27c99104707f083dccd3b4d79762859b5a0614 (diff) |
crypto: hisilicon - don't sleep of CRYPTO_TFM_REQ_MAY_SLEEP was not specified
There is this call chain:
sec_alg_skcipher_encrypt -> sec_alg_skcipher_crypto ->
sec_alg_alloc_and_calc_split_sizes -> kcalloc
where we call sleeping allocator function even if CRYPTO_TFM_REQ_MAY_SLEEP
was not specified.
Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
Cc: stable@vger.kernel.org # v4.19+
Fixes: 915e4e8413da ("crypto: hisilicon - SEC security accelerator driver")
Acked-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/vlynq')
0 files changed, 0 insertions, 0 deletions