Remove the MANAGED flag when removing a PV entry.
authormpi <mpi@openbsd.org>
Fri, 5 Jun 2015 09:09:58 +0000 (09:09 +0000)
committermpi <mpi@openbsd.org>
Fri, 5 Jun 2015 09:09:58 +0000 (09:09 +0000)
commit410af4c04b2e2e6ce6b6dc875d73785c1427eb3d
tree171c58e5f35b5908a7f1c75cbaac1cb7ad749011
parente0456e3819a356da467943fe7c376e522d377578
Remove the MANAGED flag when removing a PV entry.

Even if this change is not strickly needed, because the memory will be
returned to the pool it helped me track the use-after-free.
sys/arch/powerpc/powerpc/pmap.c