From owner-cvs-src@FreeBSD.ORG Sun Oct 12 01:05:07 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8251316A4B3; Sun, 12 Oct 2003 01:05:07 -0700 (PDT) Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.86.163]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2396443FA3; Sun, 12 Oct 2003 01:05:06 -0700 (PDT) (envelope-from phk@phk.freebsd.dk) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.12.10/8.12.10) with ESMTP id h9C85349014062; Sun, 12 Oct 2003 10:05:04 +0200 (CEST) (envelope-from phk@phk.freebsd.dk) To: John-Mark Gurney From: "Poul-Henning Kamp" In-Reply-To: Your message of "Sun, 12 Oct 2003 00:06:03 PDT." <200310120706.h9C763U6085132@repoman.freebsd.org> Date: Sun, 12 Oct 2003 10:05:03 +0200 Message-ID: <14061.1065945903@critter.freebsd.dk> cc: cvs-src@FreeBSD.org cc: src-committers@FreeBSD.org cc: cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/kern sys_pipe.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 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: Sun, 12 Oct 2003 08:05:07 -0000 In message <200310120706.h9C763U6085132@repoman.freebsd.org>, John-Mark Gurney writes: >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. Does this fix make(1) compiled with -DUSE_KQUEUE ? -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence.