NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

PR/56422 CVS commit: [netbsd-9] src/sys/kern

The following reply was made to PR bin/56422; it has been noted by GNATS.

From: "Martin Husemann" <>
Subject: PR/56422 CVS commit: [netbsd-9] src/sys/kern
Date: Fri, 8 Oct 2021 14:58:08 +0000

 Module Name:	src
 Committed By:	martin
 Date:		Fri Oct  8 14:58:08 UTC 2021
 Modified Files:
 	src/sys/kern [netbsd-9]: sys_pipe.c
 Log Message:
 Pull up following revision(s) (requested by hannken in ticket #1357):
 	sys/kern/sys_pipe.c: revision 1.157
 Fix a deadlock where one thread writes to a pipe, has more data
 and no space in the pipe and waits on "pipe_wcv" while the reader
 is closing the pipe and waits on "pipe_draincv".
 Swap the test for "PIPE_EOF" and the "cv_wait_sig()" in "pipe_write()".
 PR bin/56422 "zgrep -l sometimes hangs"
 To generate a diff of this commit:
 cvs rdiff -u -r1.148 -r1.148.2.1 src/sys/kern/sys_pipe.c
 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

Home | Main Index | Thread Index | Old Index