svn commit: r307236 - head/sys/vm
Mark Johnston
markj at FreeBSD.org
Thu Oct 13 20:39:36 UTC 2016
Author: markj
Date: Thu Oct 13 20:39:34 2016
New Revision: 307236
URL: https://svnweb.freebsd.org/changeset/base/307236
Log:
Plug a potential vnode lock leak in vm_fault_hold().
Reviewed by: alc, kib
MFC after: 1 week
Sponsored by: Dell EMC Isilon
Differential Revision: https://reviews.freebsd.org/D8242
Modified:
head/sys/vm/vm_fault.c
Modified: head/sys/vm/vm_fault.c
==============================================================================
--- head/sys/vm/vm_fault.c Thu Oct 13 20:34:44 2016 (r307235)
+++ head/sys/vm/vm_fault.c Thu Oct 13 20:39:34 2016 (r307236)
@@ -321,6 +321,8 @@ RetryFault:;
growstack = FALSE;
goto RetryFault;
}
+ if (fs.vp != NULL)
+ vput(fs.vp);
return (result);
}
More information about the svn-src-all
mailing list