From owner-cvs-all@FreeBSD.ORG Wed Mar 2 03:59:28 2005 Return-Path: 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 79FEB16A4CE; Wed, 2 Mar 2005 03:59:28 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4CC6543D1D; Wed, 2 Mar 2005 03:59:28 +0000 (GMT) (envelope-from mdodd@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 j223xSwb026235; Wed, 2 Mar 2005 03:59:28 GMT (envelope-from mdodd@repoman.freebsd.org) Received: (from mdodd@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j223xSCf026234; Wed, 2 Mar 2005 03:59:28 GMT (envelope-from mdodd) Message-Id: <200503020359.j223xSCf026234@repoman.freebsd.org> From: "Matthew N. Dodd" Date: Wed, 2 Mar 2005 03:59:28 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/dev/ata ata-lowlevel.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Mar 2005 03:59:28 -0000 mdodd 2005-03-02 03:59:28 UTC FreeBSD src repository Modified files: sys/dev/ata ata-lowlevel.c Log: Handle PIO timeouts in ata_end_transaction() by immediately returning. Failure to do this will result in following ata_pio_read() calls walking off the end of the read buffer. This resolves the "memory modified after free" panics common with Thinkpads and CD/DVD drives. Submitted by: Nate Lawson Revision Changes Path 1.53 +3 -0 src/sys/dev/ata/ata-lowlevel.c