aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpiutil.c
diff options
context:
space:
mode:
authorArd Biesheuvel <[email protected]>2017-07-21 16:42:36 +0100
committerHerbert Xu <[email protected]>2017-08-03 13:52:44 +0800
commit3c08377262880afc1621ab9cb6dbe7df47a6033d (patch)
tree69dcde2fb5ca3d990f557eee71047d2f5556eab7 /lib/mpi/mpiutil.c
parent9166c44358346c0a92b11fd4e24925efff791648 (diff)
crypto: scompress - don't sleep with preemption disabled
Due to the use of per-CPU buffers, scomp_acomp_comp_decomp() executes with preemption disabled, and so whether the CRYPTO_TFM_REQ_MAY_SLEEP flag is set is irrelevant, since we cannot sleep anyway. So disregard the flag, and use GFP_ATOMIC unconditionally. Cc: <[email protected]> # v4.10+ Signed-off-by: Ard Biesheuvel <[email protected]> Signed-off-by: Herbert Xu <[email protected]>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions