From 9ef0938e40f6ab7347072afcc5082d1456049854 Mon Sep 17 00:00:00 2001 From: Brian Somers Date: Tue, 16 Jun 1998 19:40:20 +0000 Subject: [PATCH] Zero mbuf::pnext when Dequeue()ing. --- usr.sbin/ppp/mbuf.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/usr.sbin/ppp/mbuf.c b/usr.sbin/ppp/mbuf.c index 36d475369499..9dbce186338e 100644 --- a/usr.sbin/ppp/mbuf.c +++ b/usr.sbin/ppp/mbuf.c @@ -17,7 +17,7 @@ * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. * - * $Id: mbuf.c,v 1.15 1998/06/15 19:06:17 brian Exp $ + * $Id: mbuf.c,v 1.16 1998/06/16 07:15:11 brian Exp $ * */ #include @@ -194,6 +194,7 @@ mbuf_Dequeue(struct mqueue *q) if (q->qlen) log_Printf(LogERROR, "mbuf_Dequeue: Not zero (%d)!!!\n", q->qlen); } + bp->pnext = NULL; } return bp;