diff options
author | Steffen Klassert <steffen.klassert@secunet.com> | 2010-07-20 08:52:20 +0200 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2010-07-26 14:13:59 +0800 |
commit | b275b36122dd02bb47ab4beea14e7c4e38916431 (patch) | |
tree | 4abc66f446e68def0a2da5b5880f0029ed95676e /crypto/arc4.c | |
parent | d0d9302487e7f7764c4ba9bbe205f5ffeeeff5ac (diff) | |
download | linux-crypto-b275b36122dd02bb47ab4beea14e7c4e38916431.tar.gz linux-crypto-b275b36122dd02bb47ab4beea14e7c4e38916431.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 '')
0 files changed, 0 insertions, 0 deletions