summaryrefslogtreecommitdiffstats
path: root/net/lapb/lapb_subr.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@woody.linux-foundation.org>2007-07-19 22:21:34 +0200
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-07-19 22:21:34 +0200
commit9550b105b8646f916862aee3ab7b25020ca14159 (patch)
treed5e57db2bfd773611e2b77b4bbe6d89ba8449b45 /net/lapb/lapb_subr.c
parentFix up non-NUMA SLAB configuration for zero-sized allocations (diff)
downloadlinux-9550b105b8646f916862aee3ab7b25020ca14159.tar.xz
linux-9550b105b8646f916862aee3ab7b25020ca14159.zip
slub: fix ksize() for zero-sized pointers
The slab and slob allocators already did this right, but slub would call "get_object_page()" on the magic ZERO_SIZE_PTR, with all kinds of nasty end results. Noted by Ingo Molnar. Cc: Ingo Molnar <mingo@elte.hu> Cc: Christoph Lameter <clameter@sgi.com> Cc: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions