From owner-cvs-all Sun Mar 3 14:10: 7 2002 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 5FD7B37B400; Sun, 3 Mar 2002 14:10:04 -0800 (PST) Received: (from bmilekic@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g23MA4u66471; Sun, 3 Mar 2002 14:10:04 -0800 (PST) (envelope-from bmilekic) Message-Id: <200203032210.g23MA4u66471@freefall.freebsd.org> From: Bosko Milekic Date: Sun, 3 Mar 2002 14:10:04 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern subr_mbuf.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG bmilekic 2002/03/03 14:10:04 PST Modified files: sys/kern subr_mbuf.c Log: Fix bug in mb_alloc that made systems configured with PAGE_SIZE / MCLBYTES == 1 crash. Fix them by changing the appropriate "allocate new page and bucket" code in mb_alloc to use the macro for properly grabbing an allocated object from a bucket, the one that checks whether the bucket is empty. This should allow ken to continue testing zero-copy stuff on -CURRENT. Noticed and provided debug info: ken Revision Changes Path 1.14 +1 -3 src/sys/kern/subr_mbuf.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message