From owner-cvs-all Thu Feb 27 0:56:45 2003 Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1D8CD37B405; Thu, 27 Feb 2003 00:56:44 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id A0AD543FBD; Thu, 27 Feb 2003 00:56:41 -0800 (PST) (envelope-from harti@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.6/8.12.6) with ESMTP id h1R8uf0U061890; Thu, 27 Feb 2003 00:56:41 -0800 (PST) (envelope-from harti@repoman.freebsd.org) Received: (from harti@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id h1R8uf42061889; Thu, 27 Feb 2003 00:56:41 -0800 (PST) Message-Id: <200302270856.h1R8uf42061889@repoman.freebsd.org> From: Hartmut Brandt Date: Thu, 27 Feb 2003 00:56:41 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/dev/hea eni_buffer.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 harti 2003/02/27 00:56:41 PST Modified files: sys/dev/hea eni_buffer.c Log: When we have found a chunk of memory that is large enough and have computed a correctly aligned address in this block we really want to check, that the part of the chunk that starts at the aligned address is large enough with regard to the original request. Comparing it to 0 makes no sense, because this is always true except in the rare case, that the aligned address is just at the end of the chunk. Approved by: jake (mentor) Revision Changes Path 1.16 +1 -1 src/sys/dev/hea/eni_buffer.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message