Date: Tue, 10 Dec 2002 13:54:41 -0800 (PST) From: Robert Watson <rwatson@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 22145 for review Message-ID: <200212102154.gBALsfKm096975@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=22145 Change 22145 by rwatson@rwatson_tislabs on 2002/12/10 13:53:48 Variation on the KAME work-around theme. Since we only conditionally free mbuf labels, mark it as already free'd to avoid the dup free. An extra init could sleep. Affected files ... .. //depot/projects/trustedbsd/mac/sys/net/if_loop.c#14 edit Differences ... ==== //depot/projects/trustedbsd/mac/sys/net/if_loop.c#14 (text+ko) ==== @@ -234,7 +234,7 @@ * primitives are used for relocating mbuf header * data, this will no longer be required. */ - mac_init_mbuf(m, M_WAITOK); + m->m_pkthdr.label.l_flags &= ~MAC_FLAG_INITIALIZED; #endif m_freem(m); m = n; To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe p4-projects" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200212102154.gBALsfKm096975>