• Andrew Morton's avatar
    [PATCH] Fix kmalloc_sizes[] indexing · 830d6ef2
    Andrew Morton authored
    From: Brian Gerst and David Mosberger
    
    The previous fix to the kmalloc_sizes[] array didn't null-terminate the
    correct array.
    
    Fix that up, and also avoid running ARRAY_SIZE() against an array which is
    really a null-terminated list.
    830d6ef2
slab.c 63.1 KB