From owner-cvs-src@FreeBSD.ORG Fri Aug 6 22:23:53 2004 Return-Path: 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 5116116A4CE; Fri, 6 Aug 2004 22:23:53 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 33E4143D1D; Fri, 6 Aug 2004 22:23:53 +0000 (GMT) (envelope-from njl@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.11/8.12.11) with ESMTP id i76MNrpX032179; Fri, 6 Aug 2004 22:23:53 GMT (envelope-from njl@repoman.freebsd.org) Received: (from njl@localhost) by repoman.freebsd.org (8.12.11/8.12.11/Submit) id i76MNrjr032178; Fri, 6 Aug 2004 22:23:53 GMT (envelope-from njl) Message-Id: <200408062223.i76MNrjr032178@repoman.freebsd.org> From: Nate Lawson Date: Fri, 6 Aug 2004 22:23:53 +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-src@freebsd.org X-Mailman-Version: 2.1.1 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: Fri, 06 Aug 2004 22:23:53 -0000 njl 2004-08-06 22:23:53 UTC FreeBSD src repository Modified files: sys/dev/ata ata-lowlevel.c Log: Fix a panic in ata_generic_transaction(). The DMA pointer of the channel was being unconditionally dereferenced but was NULL for PIO requests. Check the request flags for a DMA transaction before dereferencing. Reported by: ceri Tested by: Radek Kozlowski Revision Changes Path 1.42 +1 -1 src/sys/dev/ata/ata-lowlevel.c