git: network - Add some serious assertions when MBUF_DEBUG is en
commit 982f999dde975121acfd9c54c69c90a81e4c36dd
Author: Matthew Dillon <dillon@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
討論串 (同標題文章)
完整討論串 (本文為第 1 之 2 篇):