Skip to content
Commit 8a3d271d authored by Eric Dumazet's avatar Eric Dumazet Committed by Pekka Enberg
Browse files

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: default avatarChristoph Lameer <cl@linux-foundation.org>
Reported-by: default avatarZdenek Kabelac <zdenek.kabelac@gmail.com>
Signed-off-by: default avatarEric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: default avatarPekka Enberg <penberg@cs.helsinki.fi>
parent 5788d8ad
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment