From owner-cvs-src-old@FreeBSD.ORG Fri Jun 10 09:51:29 2011 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B28761065675 for ; Fri, 10 Jun 2011 09:51:29 +0000 (UTC) (envelope-from mav@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 8896F8FC1B for ; Fri, 10 Jun 2011 09:51:29 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.4/8.14.4) with ESMTP id p5A9pTkg077927 for ; Fri, 10 Jun 2011 09:51:29 GMT (envelope-from mav@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.4/8.14.4/Submit) id p5A9pT1C077926 for cvs-src-old@freebsd.org; Fri, 10 Jun 2011 09:51:29 GMT (envelope-from mav@repoman.freebsd.org) Message-Id: <201106100951.p5A9pT1C077926@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to mav@repoman.freebsd.org using -f From: Alexander Motin Date: Fri, 10 Jun 2011 09:51:15 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: RELENG_8 Subject: cvs commit: src/sys/cam/scsi scsi_da.c X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Jun 2011 09:51:29 -0000 mav 2011-06-10 09:51:15 UTC FreeBSD src repository Modified files: (Branch: RELENG_8) sys/cam/scsi scsi_da.c Log: SVN rev 222922 on 2011-06-10 09:51:15Z by mav MFC r206112, r208928 (by mjacob): Rearrange how things are done to avoid dereferencing stale pointers in the case of immediate unconfigure after configure. Hold the periph an extra count while we have the task to create sysctl context outstanding so that the periph doesn't go away unexpectedly. Revision Changes Path 1.236.2.12 +32 -25 src/sys/cam/scsi/scsi_da.c