aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorBrian Somers <brian@FreeBSD.org>1998-06-16 19:40:20 +0000
committerBrian Somers <brian@FreeBSD.org>1998-06-16 19:40:20 +0000
commit9ef0938e40f6ab7347072afcc5082d1456049854 (patch)
tree064d4768985a4a409b213b58f7956a9b1db94491 /usr.sbin
parent2ebd0c37951af1684b3f87326a2bed20f6a331e2 (diff)
downloadsrc-9ef0938e40f6ab7347072afcc5082d1456049854.tar.gz
src-9ef0938e40f6ab7347072afcc5082d1456049854.zip
Zero mbuf::pnext when Dequeue()ing.
Notes
Notes: svn path=/head/; revision=37017
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/ppp/mbuf.c3
1 files changed, 2 insertions, 1 deletions
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 <sys/types.h>
@@ -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;