kern/182181: [ufs] Leakage of vnode references (race condition?)

Rick Macklem rmacklem at uoguelph.ca
Thu Sep 19 00:05:41 UTC 2013


Devin Teske wrote:
> 
> On Sep 18, 2013, at 4:00 PM, Oleksandr V. Typlyns'kyi wrote:
> 
> > Devin, i think line 1266 in HEAD - it is line 1245 in 8-STABLE:
> > http://svnweb.freebsd.org/base/head/sys/ufs/ufs/ufs_vnops.c?annotate=253998#l1266
> > http://svnweb.freebsd.org/base/stable/8/sys/ufs/ufs/ufs_vnops.c?annotate=248832#l1245
> > http://svnweb.freebsd.org/base/releng/8.4/sys/ufs/ufs/ufs_vnops.c?annotate=248833#l1245
> > And it was not MFC'ed
> 
> Yes, my confusion was...
> 
> 1. The PR headers say 8.4-RELEASE-p3 is affected
> 
> 2. The PR's "How-To-Repeat" starts with "Install a releng/8.4 branch"
> 
> Yet...
> 
> releng/8.4 and even releng/8.3 both use VOP_UNLOCK instead of vput
> (read: are patched).
> 
Did you mean "not patched"? The patched version in head has vput()
and the unpatched versions have VOP_UNLOCK(), if I read the coed correctly.

rick

> So I'm very curious, with respect to the PR, how the test program
> showed
> a leak when the claim is that r253998 which fixes this, was in the
> OP's branch.
> --
> Devin
> 
> _____________
> The information contained in this message is proprietary and/or
> confidential. If you are not the intended recipient, please: (i)
> delete the message and all copies; (ii) do not disclose, distribute
> or use the message in any manner; and (iii) notify the sender
> immediately. In addition, please be aware that any message addressed
> to our domain is subject to archiving and review by persons other
> than the intended recipient. Thank you.
> _______________________________________________
> freebsd-fs at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-fs
> To unsubscribe, send any mail to "freebsd-fs-unsubscribe at freebsd.org"
> 


More information about the freebsd-fs mailing list