cvs commit: src/sys/sys mbuf.h src/sys/kern uipc_mbuf.c
andre at FreeBSD.org
Mon Aug 29 19:58:59 GMT 2005
andre 2005-08-29 19:58:56 UTC
FreeBSD src repository
Add m_sanity(struct mbuf *m, int sanitize) to do some heavy sanity
checking on mbuf's and mbuf chains. Set sanitize to 1 to garble
illegal things and have them blow up later when used/accessed.
m_sanity()'s main purpose is for KASSERT()'s and debugging of non-
kosher mbuf manipulation (of which we have a number of).
Reviewed by: glebius
Revision Changes Path
1.151 +95 -0 src/sys/kern/uipc_mbuf.c
1.174 +1 -0 src/sys/sys/mbuf.h
More information about the cvs-src