Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 Oct 2003 00:06:03 -0700 (PDT)
From:      John-Mark Gurney <jmg@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:  <200310120706.h9C763U6085132@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200310120706.h9C763U6085132>