Date: Fri, 16 Jul 2010 23:17:05 +0000 (UTC) From: Rick Macklem <rmacklem@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/fs/nfsserver nfs_nfsdstate.c Message-ID: <201007162317.o6GNHN2c021498@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
rmacklem 2010-07-16 23:17:05 UTC
FreeBSD src repository
Modified files:
sys/fs/nfsserver nfs_nfsdstate.c
Log:
SVN rev 210178 on 2010-07-16 23:17:05Z by rmacklem
Patch the experimental NFSv4 server so that it acquires a reference
count on nfsv4rootfs_lock when dumping state, since these functions
are not called by nfsd threads. Without this reference count, it
is possible for an nfsd thread to acquire an exclusive lock on
nfsv4rootfs_lock while the dump is in progress and then change the
lists, potentially causing a crash.
Reported by: zack.kirsch at isilon.com
MFC after: 2 weeks
Revision Changes Path
1.18 +23 -0 src/sys/fs/nfsserver/nfs_nfsdstate.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201007162317.o6GNHN2c021498>
