summaryrefslogtreecommitdiff
path: root/include/linux/crypto.h
diff options
context:
space:
mode:
authorMikulas Patocka <mpatocka@redhat.com>2020-06-17 16:49:52 +0300
committerHerbert Xu <herbert@gondor.apana.org.au>2020-06-26 07:46:42 +0300
commit5ead051780404b5cb22147170acadd1994dc3236 (patch)
tree02f906e3f4596538bd09df3a4457e54c2b7c4bc8 /include/linux/crypto.h
parent9e27c99104707f083dccd3b4d79762859b5a0614 (diff)
downloadlinux-5ead051780404b5cb22147170acadd1994dc3236.tar.xz
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 'include/linux/crypto.h')
0 files changed, 0 insertions, 0 deletions