Re: [PATCH 2/2] mm: fix NULL ptr dereference in move_pages
From: Christoph Lameter
Date: Fri Apr 13 2012 - 09:52:07 EST
On Fri, 13 Apr 2012, Sasha Levin wrote:
> Commit 3268c63 ("mm: fix move/migrate_pages() race on task struct") has added
> an odd construct where 'mm' is checked for being NULL, and if it is, it would
> get dereferenced anyways by mput()ing it.
Acked-by: Christoph Lameter <cl@xxxxxxxxx>
--
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/