opnsense-src/lib/libc/db/mpool
Brian Feldman 429d49129b Fix a tailq conversion bug that resulted in, e.g., nvi crashing upon
quitting every time.  The way to free a CIRCLEQ was to loop until
the current == current->head, but the way to free a TAILQ is to loop
until current->head == NULL.

In any case, the CORRECT way to do it is a loop of TAILQ_EMPTY() checks
and TAILQ_REMOVE()al of TAILQ_FIRST().  This bug wouldn't have happened
if the loop wasn't hard-coded...

There may be more bugs of this type from the conversion.
2000-12-30 16:10:32 +00:00
..
Makefile.inc $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
mpool.c Fix a tailq conversion bug that resulted in, e.g., nvi crashing upon 2000-12-30 16:10:32 +00:00
mpool.libtp $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
README BSD 4.4 Lite Lib Sources 1994-05-27 05:00:24 +00:00

#	@(#)README	8.1 (Berkeley) 6/4/93

These are the current memory pool routines.
They aren't ready for prime time, yet, and
the interface is expected to change.

--keith