From owner-cvs-src Tue Mar 18 10:27:36 2003 Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E72C037B405; Tue, 18 Mar 2003 10:27:34 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id E01E643FAF; Tue, 18 Mar 2003 10:27:33 -0800 (PST) (envelope-from gallatin@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 h2IIRX0U036517; Tue, 18 Mar 2003 10:27:33 -0800 (PST) (envelope-from gallatin@repoman.freebsd.org) Received: (from gallatin@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id h2IIRXJD036516; Tue, 18 Mar 2003 10:27:33 -0800 (PST) Message-Id: <200303181827.h2IIRXJD036516@repoman.freebsd.org> From: Andrew Gallatin Date: Tue, 18 Mar 2003 10:27:33 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern uipc_cow.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-src@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG gallatin 2003/03/18 10:27:33 PST FreeBSD src repository Modified files: sys/kern uipc_cow.c Log: Fix a race condition in socow_setup(): The page must be wired before sf_buf_alloc() is called, as sf_buf_alloc() may sleep. If it does sleep, the page might be reclaimed before wiring occurs. Reported by: alc Revision Changes Path 1.10 +7 -4 src/sys/kern/uipc_cow.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-src" in the body of the message