Module Name: src Committed By: hannken Date: Wed Jul 21 09:06:39 UTC 2010
Modified Files: src/share/man/man9: vnode.9 src/sys/external/bsd/drm/dist/bsd-core: drm_bufs.c src/sys/kern: vfs_subr.c src/sys/miscfs/kernfs: kernfs_subr.c kernfs_vnops.c src/sys/sys: param.h Log Message: Using vfinddev() leads to vnode races as it returns an unreferenced vnode that may disappear before the caller has a chance to reference it. Reference the vnode while the specfs cache is locked. Welcome to 5.99.37. No objections on tech-kern. To generate a diff of this commit: cvs rdiff -u -r1.49 -r1.50 src/share/man/man9/vnode.9 cvs rdiff -u -r1.7 -r1.8 src/sys/external/bsd/drm/dist/bsd-core/drm_bufs.c cvs rdiff -u -r1.408 -r1.409 src/sys/kern/vfs_subr.c cvs rdiff -u -r1.21 -r1.22 src/sys/miscfs/kernfs/kernfs_subr.c cvs rdiff -u -r1.142 -r1.143 src/sys/miscfs/kernfs/kernfs_vnops.c cvs rdiff -u -r1.371 -r1.372 src/sys/sys/param.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.