Re: [patch] memcg: null dereference on allocation failure

From: KAMEZAWA Hiroyuki
Date: Thu Oct 28 2010 - 19:45:08 EST


On Thu, 28 Oct 2010 13:12:41 +0200
Dan Carpenter <error27@xxxxxxxxx> wrote:

> The original code had a null dereference if alloc_percpu() failed.
> This was introduced in 711d3d2c9bc3 "memcg: cpu hotplug aware percpu
> count updates"
>
> Signed-off-by: Dan Carpenter <error27@xxxxxxxxx>


Ah, my fault. Thank you for catching.

Acked-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@xxxxxxxxxxxxxx>

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/