]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
fix a problem referencing free'd memory. This is only a problem for
authorjmg <jmg@FreeBSD.org>
Sun, 12 Oct 2003 07:06:02 +0000 (07:06 +0000)
committerjmg <jmg@FreeBSD.org>
Sun, 12 Oct 2003 07:06:02 +0000 (07:06 +0000)
commitf1d456150eaee8a281db4ce6c89bf4b4e24e2ba0
tree344a00b1ec4bd18791905ad55621bb9cf0de30db
parentd2021de1090171b20d35a894854ff256da1db46f
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
sys/kern/sys_pipe.c