diff options
author | Brian Somers <brian@FreeBSD.org> | 1998-06-16 19:40:20 +0000 |
---|---|---|
committer | Brian Somers <brian@FreeBSD.org> | 1998-06-16 19:40:20 +0000 |
commit | 9ef0938e40f6ab7347072afcc5082d1456049854 (patch) | |
tree | 064d4768985a4a409b213b58f7956a9b1db94491 /usr.sbin | |
parent | 2ebd0c37951af1684b3f87326a2bed20f6a331e2 (diff) | |
download | src-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.c | 3 |
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; |