summaryrefslogtreecommitdiffstats
path: root/crypto/pcrypt.c
diff options
context:
space:
mode:
authorSteffen Klassert2010-07-20 08:51:25 +0200
committerHerbert Xu2010-07-26 08:13:58 +0200
commit7424713b83587006da72da84d7922471e366faba (patch)
treef6b8cf5db118494fc70be8f97309fd2434545223 /crypto/pcrypt.c
parentpadata: Allocate cpumask dependend recources in any case (diff)
downloadkernel-qcow2-linux-7424713b83587006da72da84d7922471e366faba.tar.gz
kernel-qcow2-linux-7424713b83587006da72da84d7922471e366faba.tar.xz
kernel-qcow2-linux-7424713b83587006da72da84d7922471e366faba.zip
padata: Check for valid cpumasks
Now that we allow to change the cpumasks from userspace, we have to check for valid cpumasks in padata_do_parallel. This patch adds the necessary check. This fixes a division by zero crash if the parallel cpumask contains no active cpu. Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/pcrypt.c')
0 files changed, 0 insertions, 0 deletions