summaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
context:
space:
mode:
authorJ. R. Okajima <hooanon05@yahoo.co.jp>2009-12-02 16:55:50 +0900
committerPekka Enberg <penberg@cs.helsinki.fi>2009-12-06 10:24:03 +0200
commitddbf2e8366f2a7fa3419be418cfd83a914d2527f (patch)
treeeb5780e7a91ccae58f7754e13627804f5f893320 /Documentation
parentf3d8b53a3abbfd0b74fa5dfaa690870d9619fad9 (diff)
downloadop-kernel-dev-ddbf2e8366f2a7fa3419be418cfd83a914d2527f.zip
op-kernel-dev-ddbf2e8366f2a7fa3419be418cfd83a914d2527f.tar.gz
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 <catalin.marinas@arm.com> Signed-off-by: J. R. Okajima <hooanon05@yahoo.co.jp> Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud