Date: Tue, 25 Jan 2011 14:04:02 +0000 (UTC) From: Konstantin Belousov <kib@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/kern vfs_subr.c Message-ID: <201101251404.p0PE4LmE098629@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
kib 2011-01-25 14:04:02 UTC
FreeBSD src repository
Modified files:
sys/kern vfs_subr.c
Log:
SVN rev 217824 on 2011-01-25 14:04:02Z by kib
When vtruncbuf() iterates over the vnode buffer list, lock buffer object
before checking the validity of the next buffer pointer. Otherwise, the
buffer might be reclaimed after the check, causing iteration to run into
wrong buffer.
Reported and tested by: pho
MFC after: 1 week
Revision Changes Path
1.803 +5 -2 src/sys/kern/vfs_subr.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201101251404.p0PE4LmE098629>
