commit | b89661dff525a46edb7ee8a4423b5212068c05c0 | [log] [tgz] |
---|---|---|
author | Steffen Klassert <steffen.klassert@secunet.com> | Tue Jul 20 08:49:20 2010 +0200 |
committer | Herbert Xu <herbert@gondor.apana.org.au> | Mon Jul 26 14:13:58 2010 +0800 |
tree | 06f669f3efe74d37a546b8e75b3a5bd142a6a41f | |
parent | fad3a906d324c02b3c25ef51f702384154089846 [diff] |
padata: Allocate cpumask dependend recources in any case The cpumask separation work assumes the cpumask dependend recources present regardless of valid or invalid cpumasks. With this patch we allocate the cpumask dependend recources in any case. This fixes two NULL pointer dereference crashes in padata_replace and in padata_get_cpumask. Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>