From owner-cvs-src@FreeBSD.ORG Wed Oct 8 00:12:31 2003 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 0821F16A4B3; Wed, 8 Oct 2003 00:12:31 -0700 (PDT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 77F7B43FBF; Wed, 8 Oct 2003 00:12:30 -0700 (PDT) (envelope-from thomas@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.9/8.12.9) with ESMTP id h987CUXJ027935; Wed, 8 Oct 2003 00:12:30 -0700 (PDT) (envelope-from thomas@repoman.freebsd.org) Received: (from thomas@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id h987CUh3027934; Wed, 8 Oct 2003 00:12:30 -0700 (PDT) (envelope-from thomas) Message-Id: <200310080712.h987CUh3027934@repoman.freebsd.org> From: Thomas Quinot Date: Wed, 8 Oct 2003 00:12:30 -0700 (PDT) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/cam/scsi scsi_da.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: Wed, 08 Oct 2003 07:12:31 -0000 thomas 2003/10/08 00:12:30 PDT FreeBSD src repository Modified files: sys/cam/scsi scsi_da.c Log: (dacleanup, dasysctlinit): Defend against calling sysctl_ctx_free on an uninitialized sysctl_ctx, using flag DA_FLAG_SCTX_INIT. This prevents a panic encoutered with some umass units that probe correctly but fail to attach. Same problem, and same fix, as scsi_cd.c rev. 1.86. Reviewed by: njl, ken Revision Changes Path 1.160 +5 -2 src/sys/cam/scsi/scsi_da.c