PERFORCE change 22145 for review
Robert Watson
rwatson at freebsd.org
Tue Dec 10 21:54:41 GMT 2002
http://perforce.freebsd.org/chv.cgi?CH=22145
Change 22145 by rwatson at 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 at trustedbsd.org
with "unsubscribe trustedbsd-cvs" in the body of the message
More information about the trustedbsd-cvs
mailing list