Kernel - Fix NOTE_EXIT.
commita82e6eca9a064b9af353727016c9657feb11b1eb
authorMatthew Dillon <dillon@apollo.backplane.com>
Tue, 22 Sep 2009 04:57:32 +0000 (21 21:57 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Tue, 22 Sep 2009 06:41:58 +0000 (21 23:41 -0700)
tree86489f3f89cd95bb81597b0b7af53a0543ebbc9b
parent2ba61315abdc7df051e12b39a77791baab47affb
Kernel - Fix NOTE_EXIT.

* NOTE_EXIT could crash the machine due to a knote being left on a
  process list and then zfree()'d.

Loosely-taken-from: FreeBSD
sys/kern/kern_event.c