kernel - Fix NULL pointer dereference on forced unmount
authorMatthew Dillon <dillon@apollo.backplane.com>
Mon, 29 Mar 2010 20:52:11 +0000 (13:52 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Mon, 29 Mar 2010 20:52:11 +0000 (13:52 -0700)
commit1e49b98c24fe6d4737f144108ae1898b6c977757
treedebf14e506e46e95dff75ab3cf90ebde9a81d223
parent29aa961acc9a58b639bba30d15685106d51e1265
kernel - Fix NULL pointer dereference on forced unmount

* Forced unmounts forcefully remove vnodes from a mount but failed
  to reassociate those vnodes with a dummy mount.  Reassociate the
  vnodes with a dummy mount to avoid a NULL pointer dereference.

Reported-by: Saifi Khan <saifi.khan@datasynergy.org>
sys/kern/vfs_mount.c