Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 May 2015 09:09:13 -0400
From:      Benjamin Kaduk <bjkfbsd@gmail.com>
To:        Konstantin Belousov <kib@freebsd.org>
Cc:        "src-committers@freebsd.org" <src-committers@freebsd.org>,  "svn-src-all@freebsd.org" <svn-src-all@freebsd.org>,  "svn-src-head@freebsd.org" <svn-src-head@freebsd.org>
Subject:   Re: svn commit: r283602 - in head/sys: cddl/contrib/opensolaris/uts/common/fs/zfs kern
Message-ID:  <CAJ5_RoAszUy6PXZ504CAW6m%2Bf23UaWM57Qb4QzLp6E9UTSvU5A@mail.gmail.com>
In-Reply-To: <201505270922.t4R9MoZv065205@svn.freebsd.org>
References:  <201505270922.t4R9MoZv065205@svn.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, May 27, 2015 at 5:22 AM, Konstantin Belousov <kib@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJ5_RoAszUy6PXZ504CAW6m%2Bf23UaWM57Qb4QzLp6E9UTSvU5A>