From owner-cvs-src@FreeBSD.ORG Mon Mar 5 11:17:32 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 177CF16A405; Mon, 5 Mar 2007 11:17:32 +0000 (UTC) (envelope-from bms@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id 0954413C474; Mon, 5 Mar 2007 11:17:32 +0000 (UTC) (envelope-from bms@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.6/8.13.6) with ESMTP id l25BHVDu013241; Mon, 5 Mar 2007 11:17:31 GMT (envelope-from bms@repoman.freebsd.org) Received: (from bms@localhost) by repoman.freebsd.org (8.13.6/8.13.4/Submit) id l25BHV1I013237; Mon, 5 Mar 2007 11:17:31 GMT (envelope-from bms) Message-Id: <200703051117.l25BHV1I013237@repoman.freebsd.org> From: Bruce M Simpson Date: Mon, 5 Mar 2007 11:17:31 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_6 Cc: Subject: cvs commit: src/sys/kern sys_generic.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Mar 2007 11:17:32 -0000 bms 2007-03-05 11:17:31 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sys/kern sys_generic.c Log: MFC rev 1.152: Do not dispatch SIGPIPE from the generic write path for a socket; with this patch the code behaves according to the comment on the line above. Without this patch, a socket could cause SIGPIPE to be delivered to its process, once with SO_NOSIGPIPE set, and twice without. With this patch, the kernel now passes the sigpipe regression test in both HEAD and RELENG_6. PR: 78478 (the bug fix for this PR introduced this bug) Tested by: Anton Yuzhaninov Reviewed by: jhb Revision Changes Path 1.146.2.2 +1 -1 src/sys/kern/sys_generic.c