Date: Wed, 29 Nov 2006 02:21:40 +0000 (UTC) From: Mohan Srinivasan <mohans@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/nfsclient nfs_node.c Message-ID: <200611290221.kAT2Lf2A060932@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
mohans 2006-11-29 02:21:40 UTC FreeBSD src repository Modified files: sys/nfsclient nfs_node.c Log: In nfs_nget(), we must initialize the fh in the nfsnode before inserting the vnode into the vfs hash. Otherwise, another thread walking the hash can trip on an nfsnode with an uninitialized or partially initialized fh. Thanks to ups@ for spotting this race. Revision Changes Path 1.85 +6 -6 src/sys/nfsclient/nfs_node.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200611290221.kAT2Lf2A060932>