diff options
author | 2009-09-03 16:08:06 +0200 | |
---|---|---|
committer | 2009-09-14 07:57:55 +0300 | |
commit | 8a3d271deb0cc9c2fc47317d8e431046382939c9 (patch) | |
tree | 0e6d53380e24bee70afb6102faa3fea8b762f0aa /include/trace | |
parent | slub: release kobject if sysfs_create_group failed in sysfs_slab_add (diff) | |
download | linux-8a3d271deb0cc9c2fc47317d8e431046382939c9.tar.gz linux-8a3d271deb0cc9c2fc47317d8e431046382939c9.tar.bz2 linux-8a3d271deb0cc9c2fc47317d8e431046382939c9.zip |
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>
Diffstat (limited to 'include/trace')
0 files changed, 0 insertions, 0 deletions