DragonFly BSD
DragonFly commits List (threaded) for 2011-11
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

git: kernel - Try to fix procfs readdir race


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 16 Nov 2011 12:31:18 -0800 (PST)

commit ccd6bbb9892063808756ed786554eebea3400eb5
Author: Matthew Dillon <dillon@apollo.backplane.com>
Date:   Wed Nov 16 12:29:20 2011 -0800

    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().

Summary of changes:
 sys/vfs/procfs/procfs_subr.c |    8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/ccd6bbb9892063808756ed786554eebea3400eb5


-- 
DragonFly BSD source repository



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]