• Andrew Morton's avatar
    [PATCH] Fix vm_area_struct slab corruption · 7a6b4e0d
    Andrew Morton authored
    Patch from Hugh Dickins <hugh@veritas.com>
    
    Hugh's patch fixes vm_area_struct slab corruption due to mremap's move_vma
    mistaking how do_munmap splits vmas in one case.
    
    Neither of us are very happy with it - it is fragile, and obscure.  Hugh will
    revisit this later, but for now it should fix up the potential memory
    corruption.
    7a6b4e0d
mmap.c 36.3 KB