git: network - Add some serious assertions when MBUF_DEBUG is enabled

Matthew Dillon dillon at crater.dragonflybsd.org
Thu Sep 16 00:55:21 PDT 2010


commit 982f999dde975121acfd9c54c69c90a81e4c36dd
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Thu Sep 16 00:48:05 2010 -0700

    network - Add some serious assertions when MBUF_DEBUG is enabled
    
    * Assert that the mbuf field state is sane when pulling a new one out of
      the object cache.
    
    * Store the last function (name) to free an mbuf as a debugging aid.

Summary of changes:
 sys/kern/uipc_mbuf.c |   42 ++++++++++++++++++++++++++++++++++++++++--
 1 files changed, 40 insertions(+), 2 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/982f999dde975121acfd9c54c69c90a81e4c36dd


-- 
DragonFly BSD source repository





More information about the Commits mailing list