summaryrefslogtreecommitdiffstats
path: root/kernel/padata.c
diff options
context:
space:
mode:
authorSteffen Klassert2010-07-20 08:52:20 +0200
committerHerbert Xu2010-07-26 08:13:59 +0200
commitcc74f4bc111e9554bcd6445ad0fe1d90e5d2eb34 (patch)
tree9848a74caacea30210ed680362fe8ee0aec51a69 /kernel/padata.c
parentpadata: Check for valid cpumasks (diff)
downloadkernel-qcow2-linux-cc74f4bc111e9554bcd6445ad0fe1d90e5d2eb34.tar.gz
kernel-qcow2-linux-cc74f4bc111e9554bcd6445ad0fe1d90e5d2eb34.tar.xz
kernel-qcow2-linux-cc74f4bc111e9554bcd6445ad0fe1d90e5d2eb34.zip
crypto: pcrypt - Dont calulate a callback cpu on empty callback cpumask
If the callback cpumask is empty, we crash with a division by zero when we try to calculate a callback cpu. So we don't update the callback cpu in pcrypt_do_parallel if the callback cpumask is empty. Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'kernel/padata.c')
0 files changed, 0 insertions, 0 deletions