Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Aug 2005 19:58:56 +0000 (UTC)
From:      Andre Oppermann <andre@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/sys mbuf.h src/sys/kern uipc_mbuf.c
Message-ID:  <200508291958.j7TJwvd0093355@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
andre       2005-08-29 19:58:56 UTC

  FreeBSD src repository

  Modified files:
    sys/sys              mbuf.h 
    sys/kern             uipc_mbuf.c 
  Log:
  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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200508291958.j7TJwvd0093355>