network - Add some serious assertions when MBUF_DEBUG is enabled
authorMatthew Dillon <dillon@apollo.backplane.com>
Thu, 16 Sep 2010 07:48:05 +0000 (00:48 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Thu, 16 Sep 2010 07:48:05 +0000 (00:48 -0700)
commit982f999dde975121acfd9c54c69c90a81e4c36dd
treea0cb69fcb5651dd77a62b2f71f9c901f52e9b3e3
parentfbc024e4d165c7dc2e4acb4cc6fcd6ecd56e0297
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.
sys/kern/uipc_mbuf.c