From owner-cvs-sys Sat Dec 27 17:07:24 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id RAA02522 for cvs-sys-outgoing; Sat, 27 Dec 1997 17:07:24 -0800 (PST) (envelope-from owner-cvs-sys) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id RAA02429; Sat, 27 Dec 1997 17:05:25 -0800 (PST) (envelope-from bde@FreeBSD.org) From: Bruce Evans Received: (from bde@localhost) by freefall.freebsd.org (8.8.6/8.8.5) id RAA27216; Sat, 27 Dec 1997 17:01:14 -0800 (PST) Date: Sat, 27 Dec 1997 17:01:14 -0800 (PST) Message-Id: <199712280101.RAA27216@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-sys@FreeBSD.ORG Subject: cvs commit: src/sys/kern uipc_mbuf.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk bde 1997/12/27 17:01:14 PST Modified files: sys/kern uipc_mbuf.c Log: Restored used include of . malloc() is not used here, but kmem_malloc() is used and it takes the same "flags" as malloc(). Use the mbuf allocation "flags" M_WAIT and M_DONTWAIT consistently. There is really only one boolean flag, M_DONTWAIT, but the "flags" were always treated as enum-like values, except in some places here where the values are tacitly converted to boolean flags. Treat them as enum-like values everywhere, except where we tacitly assume that there are only two values in order to convert them to the corresponding two kmem_malloc() "flags". Revision Changes Path 1.33 +22 -21 src/sys/kern/uipc_mbuf.c