summaryrefslogtreecommitdiff
path: root/include/linux/crypto.h
diff options
context:
space:
mode:
authorMikulas Patocka <mpatocka@redhat.com>2020-06-17 16:48:56 +0300
committerHerbert Xu <herbert@gondor.apana.org.au>2020-06-26 07:46:42 +0300
commit9e27c99104707f083dccd3b4d79762859b5a0614 (patch)
treeea1ebc7ca7ae507d2072003d71e589d5b2379ae2 /include/linux/crypto.h
parent758f4879ba717909cae3da5623130199f561ae29 (diff)
downloadlinux-9e27c99104707f083dccd3b4d79762859b5a0614.tar.xz
crypto: cpt - don't sleep of CRYPTO_TFM_REQ_MAY_SLEEP was not specified
There is this call chain: cvm_encrypt -> cvm_enc_dec -> cptvf_do_request -> process_request -> kzalloc 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.11+ Fixes: c694b233295b ("crypto: cavium - Add the Virtual Function driver for CPT") Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'include/linux/crypto.h')
0 files changed, 0 insertions, 0 deletions