From: J. R. Okajima Date: Wed, 2 Dec 2009 07:55:50 +0000 (+0900) Subject: slab, kmemleak: pass the correct pointer to kmemleak_erase() X-Git-Tag: v2.6.33-rc1~297^2^3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ddbf2e8366f2a7fa3419be418cfd83a914d2527f;p=pandora-kernel.git slab, kmemleak: pass the correct pointer to kmemleak_erase() In ____cache_alloc(), the variable 'ac' may be changed after cache_alloc_refill() and the following kmemleak_erase() may get an incorrect pointer. Update 'ac' after cache_alloc_refill() unconditionally. See the following URL for the discussion of this patch: http://marc.info/?l=linux-kernel&m=125873373124187&w=2 Acked-by: Catalin Marinas Signed-off-by: J. R. Okajima Signed-off-by: Pekka Enberg --- Reading git-diff-tree failed