OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
CVS: cvs.openbsd.org: src

From: Brad Smith (bradcvs.openbsd.org)
Date: Mon Nov 21 2005 - 17:22:12 CST


CVSROOT: /cvs
Module name: src
Changes by: bradcvs.openbsd.org 2005/11/21 16:22:12

Modified files:
        sys/kern : Tag: OPENBSD_3_7 vfs_subr.c

Log message:
MFC:
Fix by pedro

Work around yet another race on non-locking file systems: when calling
VOP_INACTIVE() in vrele() and vput(), we may sleep. Since there's no
locking of any kind, someone can vget() the vnode and vrele() it while
we sleep, beating us in getting the vnode on the free list.

ok deraadt pedro