From owner-cvs-all@FreeBSD.ORG Sun Oct 12 00:06:04 2003 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 015DB16A4B3; Sun, 12 Oct 2003 00:06:04 -0700 (PDT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7431643FAF; Sun, 12 Oct 2003 00:06:03 -0700 (PDT) (envelope-from jmg@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.9/8.12.9) with ESMTP id h9C763XJ085133; Sun, 12 Oct 2003 00:06:03 -0700 (PDT) (envelope-from jmg@repoman.freebsd.org) Received: (from jmg@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id h9C763U6085132; Sun, 12 Oct 2003 00:06:03 -0700 (PDT) (envelope-from jmg) Message-Id: <200310120706.h9C763U6085132@repoman.freebsd.org> From: John-Mark Gurney Date: Sun, 12 Oct 2003 00:06:03 -0700 (PDT) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/kern sys_pipe.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 12 Oct 2003 07:06:04 -0000 jmg 2003/10/12 00:06:03 PDT FreeBSD src repository Modified files: sys/kern sys_pipe.c Log: fix a problem referencing free'd memory. This is only a problem for kqueue write events on a socket and you regularly create tons of pipes which overwrites the structure causing a panic when removing the knote from the list. If the peer has gone away (and it's a write knote), then don't bother trying to remove the knote from the list. Submitted by: Brian Buchanan and myself Obtained from: nCircle Revision Changes Path 1.152 +7 -2 src/sys/kern/sys_pipe.c