From owner-cvs-src@FreeBSD.ORG Thu Sep 4 09:30:04 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 8C99A16A4BF; Thu, 4 Sep 2003 09:30:04 -0700 (PDT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0243343FCB; Thu, 4 Sep 2003 09:30:04 -0700 (PDT) (envelope-from njl@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.6/8.12.6) with ESMTP id h84GU30U017045; Thu, 4 Sep 2003 09:30:03 -0700 (PDT) (envelope-from njl@repoman.freebsd.org) Received: (from njl@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id h84GU3Z7017044; Thu, 4 Sep 2003 09:30:03 -0700 (PDT) Message-Id: <200309041630.h84GU3Z7017044@repoman.freebsd.org> From: Nate Lawson Date: Thu, 4 Sep 2003 09:30:03 -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_target.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: Thu, 04 Sep 2003 16:30:04 -0000 njl 2003/09/04 09:30:03 PDT FreeBSD src repository Modified files: sys/cam/scsi scsi_target.c Log: Calling KNOTE with locks held may result in recursion when it calls back into targreadfilt(). Unlock around calls to notify_user(). If an application is sending CCBs while the endpoint is shutting down, this may result in incomplete disable. A more complete solution will come with a "dying" flag. Submitted by: simokawa Revision Changes Path 1.56 +13 -2 src/sys/cam/scsi/scsi_target.c