Date: Tue, 23 Nov 2004 22:15:08 +0000 (UTC) From: Robert Watson <rwatson@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern sys_pipe.c Message-ID: <200411232215.iANMF875076950@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
rwatson 2004-11-23 22:15:08 UTC FreeBSD src repository Modified files: sys/kern sys_pipe.c Log: Correct a bug introduced in sys_pipe.c:1.179: in pipe_ioctl(), release the pipe mutex before calling fsetown(), as fsetown() may block. The sigio code protects the pipe sigio data using its own mutex, and the pipe reference count held by the caller will prevent the pipe from being prematurely garbage-collected. Discovered by: imp Revision Changes Path 1.181 +5 -2 src/sys/kern/sys_pipe.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200411232215.iANMF875076950>