diff options
author | brian <brian@FreeBSD.org> | 1998-06-16 19:40:20 +0000 |
---|---|---|
committer | brian <brian@FreeBSD.org> | 1998-06-16 19:40:20 +0000 |
commit | 4c81e232d390d21d1a5921a78064b139bd24040f (patch) | |
tree | 5e06954b3a3a5d1b51f759fbdf800f3d7b85d3d5 /usr.sbin/ppp/mbuf.c | |
parent | 552ad26fff7e15af3963a4b1e7a19f82626c2b49 (diff) | |
download | FreeBSD-src-4c81e232d390d21d1a5921a78064b139bd24040f.zip FreeBSD-src-4c81e232d390d21d1a5921a78064b139bd24040f.tar.gz |
Zero mbuf::pnext when Dequeue()ing.
Diffstat (limited to 'usr.sbin/ppp/mbuf.c')
-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 36d4753..9dbce18 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; |