aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_subr.c
diff options
context:
space:
mode:
authorDavid Rientjes <[email protected]>2014-09-25 16:05:20 -0700
committerLinus Torvalds <[email protected]>2014-09-26 08:10:35 -0700
commitd4a5fca592b9ab52b90bb261a90af3c8f53be011 (patch)
treeee03eb6ccce084507f013104e2ccf75b0138f0b4 /net/lapb/lapb_subr.c
parent87e6d49a000fa6148bd539f632706b02c3485c5d (diff)
mm, slab: initialize object alignment on cache creation
Since commit 4590685546a3 ("mm/sl[aou]b: Common alignment code"), the "ralign" automatic variable in __kmem_cache_create() may be used as uninitialized. The proper alignment defaults to BYTES_PER_WORD and can be overridden by SLAB_RED_ZONE or the alignment specified by the caller. This fixes https://bugzilla.kernel.org/show_bug.cgi?id=85031 Signed-off-by: David Rientjes <[email protected]> Reported-by: Andrei Elovikov <[email protected]> Acked-by: Christoph Lameter <[email protected]> Cc: Pekka Enberg <[email protected]> Cc: Joonsoo Kim <[email protected]> Cc: <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions