]> git.hungrycats.org Git - linux/commit
[PATCH] Fix vm_area_struct slab corruption
authorAndrew Morton <akpm@digeo.com>
Sat, 8 Mar 2003 11:23:39 +0000 (03:23 -0800)
committerJames Bottomley <jejb@raven.il.steeleye.com>
Sat, 8 Mar 2003 11:23:39 +0000 (03:23 -0800)
commit7a6b4e0d57e2ca546bb468d56563a6c65dd98eb9
tree4add275c26230c30050db2bab0f921f22382c5e9
parent83bfc5dd4b19d0894a0917edb13a1477905eccb4
[PATCH] Fix vm_area_struct slab corruption

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.
mm/mmap.c