Matthew Dawson 7640131032 mm/mempool: avoid KASAN marking mempool poison checks as use-after-free
When removing an element from the mempool, mark it as unpoisoned in KASAN
before verifying its contents for SLUB/SLAB debugging.  Otherwise KASAN
will flag the reads checking the element use-after-free writes as
use-after-free reads.

Signed-off-by: Matthew Dawson <matthew@mjdsystems.ca>
Acked-by: Andrey Ryabinin <aryabinin@virtuozzo.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2016-03-11 16:17:47 -08:00
..
2015-12-06 12:46:31 +01:00
2016-01-14 16:00:49 -08:00
2016-01-15 17:56:32 -08:00
2016-01-21 17:20:51 -08:00
2015-12-06 12:46:31 +01:00
2016-01-22 18:04:28 -05:00
2016-02-05 18:10:40 -08:00