From owner-cvs-src@FreeBSD.ORG Thu Sep 29 10:37:21 2005 Return-Path: X-Original-To: cvs-src@FreeBSD.org 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 0D63816A41F; Thu, 29 Sep 2005 10:37:21 +0000 (GMT) (envelope-from peadar@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id C2DA043D48; Thu, 29 Sep 2005 10:37:20 +0000 (GMT) (envelope-from peadar@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id j8TAbKw4010228; Thu, 29 Sep 2005 10:37:20 GMT (envelope-from peadar@repoman.freebsd.org) Received: (from peadar@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j8TAbKdI010227; Thu, 29 Sep 2005 10:37:20 GMT (envelope-from peadar) Message-Id: <200509291037.j8TAbKdI010227@repoman.freebsd.org> From: Peter Edwards Date: Thu, 29 Sep 2005 10:37:20 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/kern vfs_bio.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: Thu, 29 Sep 2005 10:37:21 -0000 peadar 2005-09-29 10:37:20 UTC FreeBSD src repository Modified files: sys/kern vfs_bio.c Log: Close a race in biodone(), whereby the bio_done field of the passed bio may have been freed and reassigned by the wakeup before being tested after releasing the bdonelock. There's a non-zero chance this is the cause of a few of the crashes knocking around with biodone() sitting in the stack backtrace. Reviewed By: phk@ Revision Changes Path 1.494 +5 -3 src/sys/kern/vfs_bio.c