slub: fix slab_pad_check()
When SLAB_POISON is used and slab_pad_check() finds an overwrite of the slab padding, we call restore_bytes() on the whole slab, not only on the padding. Acked-by:Christoph Lameer <cl@linux-foundation.org> Reported-by:
Zdenek Kabelac <zdenek.kabelac@gmail.com> Signed-off-by:
Eric Dumazet <eric.dumazet@gmail.com> Signed-off-by:
Pekka Enberg <penberg@cs.helsinki.fi>
Showing
Please register or sign in to comment