cvs commit: src/sys/kern sys_pipe.c

Poul-Henning Kamp phk at
Sun Oct 12 01:05:07 PDT 2003

In message <200310120706.h9C763U6085132 at>, John-Mark Gurney 
>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 at 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.

More information about the cvs-src mailing list