Re: [patch] mempolicy: ERR_PTR dereference inmpol_shared_policy_init()

From: David Rientjes
Date: Tue May 25 2010 - 19:09:13 EST


On Tue, 25 May 2010, Dan Carpenter wrote:

> The original code called mpol_put(new) while "new" was an ERR_PTR.
>
> Signed-off-by: Dan Carpenter <error27@xxxxxxxxx>

Acked-by: David Rientjes <rientjes@xxxxxxxxxx>
--
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/