diff options
author | Eric Dumazet <eric.dumazet@gmail.com> | 2009-09-03 16:08:06 +0200 |
---|---|---|
committer | Pekka Enberg <penberg@cs.helsinki.fi> | 2009-09-14 06:57:55 +0200 |
commit | 8a3d271deb0cc9c2fc47317d8e431046382939c9 (patch) | |
tree | 0e6d53380e24bee70afb6102faa3fea8b762f0aa /drivers/infiniband/hw/amso1100/c2.c | |
parent | slub: release kobject if sysfs_create_group failed in sysfs_slab_add (diff) | |
download | linux-8a3d271deb0cc9c2fc47317d8e431046382939c9.tar.xz 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 'drivers/infiniband/hw/amso1100/c2.c')
0 files changed, 0 insertions, 0 deletions