]> CyberLeo.Net >> Repos - FreeBSD/stable/9.git/commit
MFC 228361:
authorjhb <jhb@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Thu, 5 Jan 2012 19:36:23 +0000 (19:36 +0000)
committerjhb <jhb@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Thu, 5 Jan 2012 19:36:23 +0000 (19:36 +0000)
commit99fbd7cbf03ce7adac60a1628d0f07eabfe4d4eb
tree28fdb0d7d20d65b3af49ea5ba6ef4f771c290d60
parent7467ad4e80f679a4b4a243a35dde32c3cb1a1f40
MFC 228361:
Explicitly use curthread while manipulating td_fpop during last close
of a devfs file descriptor in devfs_close_f().  The passed in td argument
may be NULL if the close was invoked by garbage collection of open
file descriptors in pending control messages in the socket buffer of a
UNIX domain socket after it was closed.

git-svn-id: svn://svn.freebsd.org/base/stable/9@229627 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/fs/devfs/devfs_vnops.c