msf_buf_alloc() can be called with a NULL vm_page_t when e.g. the first
authorMatthew Dillon <dillon@dragonflybsd.org>
Fri, 4 Mar 2005 06:10:09 +0000 (06:10 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Fri, 4 Mar 2005 06:10:09 +0000 (06:10 +0000)
commit8413a34eddc9d2f04eff7ea3e14124157fbf8bc9
tree610446e6254195079e05ff20ecb15644da4d839c
parent05903dc56faf232b8f5a3eee3b049225db81a551
msf_buf_alloc() can be called with a NULL vm_page_t when e.g. the first
page cannot be easily located, typically due to a user buffer which is
not faulted in.  Fix a NULL pointer dereference panic that occurs in that
case.
sys/kern/kern_msfbuf.c