Date: Wed, 30 Aug 2006 21:31:17 GMT From: Todd Miller <millert@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 105372 for review Message-ID: <200608302131.k7ULVHVO038450@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=105372 Change 105372 by millert@millert_g4tower on 2006/08/30 21:30:43 Do not consume a port reference in labelh_destroy(), ipc_port_destroy() will do this for us. Fixes an int underflow that was causing label handle ipc ports to never be deallocated. Affected files ... .. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/ipc/ipc_labelh.c#3 edit Differences ... ==== //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/ipc/ipc_labelh.c#3 (text+ko) ==== @@ -202,7 +202,6 @@ { ipc_labelh_t lh = (ipc_labelh_t) port->ip_kobject; - ip_release(lh->lh_port); mac_port_destroy_label(&lh->lh_label); zfree(ipc_labelh_zone, (vm_offset_t)lh); }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200608302131.k7ULVHVO038450>