aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorChristoph Lameter <[email protected]>2011-05-20 14:42:48 +0000
committerPekka Enberg <[email protected]>2011-05-21 09:53:53 +0000
commit3e0c2ab67e48f77c2da0a5c826aac397792a214e (patch)
tree937d195659cb72bbd038907e36b23e5c0e7c262d /net/unix/af_unix.c
parentslub: Remove node check in slab_free (diff)
downloadkernel-3e0c2ab67e48f77c2da0a5c826aac397792a214e.tar.gz
kernel-3e0c2ab67e48f77c2da0a5c826aac397792a214e.zip
slub: Deal with hyperthetical case of PAGE_SIZE > 2M
kmalloc_index() currently returns -1 if the PAGE_SIZE is larger than 2M which seems to cause some concern since the callers do not check for -1. Insert a BUG() and add a comment to the -1 explaining that the code cannot be reached. Signed-off-by: Christoph Lameter <[email protected]> Signed-off-by: Pekka Enberg <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions