kernel - Try to fix procfs readdir race
authorMatthew Dillon <dillon@apollo.backplane.com>
Wed, 16 Nov 2011 20:29:20 +0000 (12:29 -0800)
committerMatthew Dillon <dillon@apollo.backplane.com>
Wed, 16 Nov 2011 20:29:20 +0000 (12:29 -0800)
commitccd6bbb9892063808756ed786554eebea3400eb5
treee8e935c86101d586ff077b34b17140b8ed2e882f
parent1ad27649b8face848264cf3bc38c3029940762b2
kernel - Try to fix procfs readdir race

* procfs_allocvp() may have a pfs/vnode race which the vget() may not
  completely address.  For now make sure we can't race a vnode teardown
  when attempting to acquire a vnode with vget().
sys/vfs/procfs/procfs_subr.c