svn commit: r283602 - in head/sys: cddl/contrib/opensolaris/uts/common/fs/zfs kern
Benjamin Kaduk
bjkfbsd at gmail.com
Wed May 27 13:09:16 UTC 2015
On Wed, May 27, 2015 at 5:22 AM, Konstantin Belousov <kib at freebsd.org>
wrote:
> Author: kib
> Date: Wed May 27 09:22:50 2015
> New Revision: 283602
> URL: https://svnweb.freebsd.org/changeset/base/283602
>
> Log:
> Right now, dounmount() is called with unreferenced mount point.
> Nothing stops a parallel unmount to suceed before the given call to
> dounmount() checks and locks the covered vnode. Prevent dounmount()
> from acting on the freed (although type-stable) memory by changing the
> interface to require the mount point to be referenced. dounmount()
> consumes the reference on return, regardless of the sucessfull or
> erronous result.
>
Should __FreeBSD_version get bumped?
-Ben
More information about the svn-src-head
mailing list