Added tracing debug messages.

This commit is contained in:
likewise 2003-03-24 12:58:01 +00:00
parent 7a92011933
commit 07058652c1

View File

@ -698,7 +698,7 @@ pbuf_dechain(struct pbuf *p)
p->next = NULL; p->next = NULL;
return q; return q;
} }
/*-----------------------------------------------------------------------------------*/
/** Replace any pbufs of type PBUF_FLAG_REF with PBUF_POOL buffers. /** Replace any pbufs of type PBUF_FLAG_REF with PBUF_POOL buffers.
Go through pbuf chain and replace any PBUF_REF buffers with PBUF_POOL Go through pbuf chain and replace any PBUF_REF buffers with PBUF_POOL
@ -714,7 +714,7 @@ struct pbuf *
pbuf_unref(struct pbuf *f) pbuf_unref(struct pbuf *f)
{ {
struct pbuf *p, *prev, *q, *top; struct pbuf *p, *prev, *q, *top;
DEBUGF(PBUF_DEBUG, ("pbuf_unref: %p \n", (void*)f)); DEBUGF(PBUF_DEBUG | DBG_TRACE | 3, ("pbuf_unref: %p\n", (void*)f));
prev = 0; prev = 0;
p = f; p = f;