git: kernel - Fix a 'vm_page_unhold: hold count < 0' panic in kern_execve()
Sepherosa Ziehau
sephe at crater.dragonflybsd.org
Tue Jun 14 23:32:52 PDT 2011
commit 3caf6b8870a1a29315c6a32d82c54a32169af0fb
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date: Thu Jun 9 13:28:08 2011 -0700
kernel - Fix a 'vm_page_unhold: hold count < 0' panic in kern_execve()
* imgp->firstpage is preloaded with lwbuf storage but we failed to NULL
it out on error, causing the code to later attempt to release a bogus
lwbuf.
* Fixes a hold count panic on random vm_page's.
Summary of changes:
sys/kern/kern_exec.c | 10 +++++++++-
1 files changed, 9 insertions(+), 1 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/3caf6b8870a1a29315c6a32d82c54a32169af0fb
--
DragonFly BSD source repository
More information about the Commits
mailing list