From owner-cvs-src@FreeBSD.ORG Wed Oct 31 02:31:52 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 15D8916A479; Wed, 31 Oct 2007 02:31:52 +0000 (UTC) (envelope-from alc@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id DFEB013C4A7; Wed, 31 Oct 2007 02:31:51 +0000 (UTC) (envelope-from alc@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l9V2VpoD082827; Wed, 31 Oct 2007 02:31:51 GMT (envelope-from alc@repoman.freebsd.org) Received: (from alc@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l9V2VpoB082826; Wed, 31 Oct 2007 02:31:51 GMT (envelope-from alc) Message-Id: <200710310231.l9V2VpoB082826@repoman.freebsd.org> From: Alan Cox Date: Wed, 31 Oct 2007 02:31:51 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_7 Cc: Subject: cvs commit: src/sys/vm vm_map.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Oct 2007 02:31:52 -0000 alc 2007-10-31 02:31:51 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/vm vm_map.c Log: MFC revision 1.389 Correct an error in vm_map_sync(), nee vm_map_clean(), that has existed since revision 1.1. Specifically, neither traversal of the vm map checks whether the end of the vm map has been reached. Consequently, the first traversal can wrap around and bogusly return an error. Approved by: re (kensmith) Revision Changes Path 1.388.2.1 +4 -2 src/sys/vm/vm_map.c