diff options
author | Dan Carpenter <error27@gmail.com> | 2010-11-12 01:05:12 +0300 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-11-12 18:55:31 +0300 |
commit | d2e61b8dc99fdb36e0fd176e25365f69afda4ff9 (patch) | |
tree | 580325e7a44fc02d985bca17a1d7601e6ed81cb9 /arch/powerpc/include/asm/uic.h | |
parent | 1093736b3c34319b8f1825a4423414d9cf397d73 (diff) | |
download | linux-d2e61b8dc99fdb36e0fd176e25365f69afda4ff9.tar.xz |
memcg: null dereference on allocation failure
The original code had a null dereference if alloc_percpu() failed. This
was introduced in commit 711d3d2c9bc3 ("memcg: cpu hotplug aware percpu
count updates")
Signed-off-by: Dan Carpenter <error27@gmail.com>
Reviewed-by: Balbir Singh <balbir@linux.vnet.ibm.com>
Acked-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Acked-by: Daisuke Nishimura <nishimura@mxp.nes.nec.co.jp>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/powerpc/include/asm/uic.h')
0 files changed, 0 insertions, 0 deletions