Received: by mail.netbsd.org (Postfix, from userid 605) id D447014A193; Wed, 22 Jul 2015 08:33:52 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id D054B14A18F for ; Wed, 22 Jul 2015 08:33:51 +0000 (UTC) X-Virus-Scanned: amavisd-new at NetBSD.org Received: from mail.netbsd.org ([127.0.0.1]) by localhost (mail.NetBSD.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id SPXBxQ-PObpd for ; Wed, 22 Jul 2015 08:33:51 +0000 (UTC) Received: from cvs.netbsd.org (cvs.NetBSD.org [IPv6:2001:4f8:3:7:2e0:81ff:fe30:95bd]) by mail.netbsd.org (Postfix) with ESMTP id 54C4614A189 for ; Wed, 22 Jul 2015 08:33:51 +0000 (UTC) Received: by cvs.netbsd.org (Postfix, from userid 500) id 4EA3398; Wed, 22 Jul 2015 08:33:51 +0000 (UTC) Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" MIME-Version: 1.0 Date: Wed, 22 Jul 2015 08:33:51 +0000 From: "Juergen Hannken-Illjes" Subject: CVS commit: src/sys/dev/ic To: source-changes@NetBSD.org X-Mailer: log_accum Message-Id: <20150722083351.4EA3398@cvs.netbsd.org> Sender: source-changes-owner@NetBSD.org List-Id: source-changes.NetBSD.org Precedence: bulk Reply-To: source-changes-d@NetBSD.org Mail-Reply-To: "Juergen Hannken-Illjes" Mail-Followup-To: source-changes-d@NetBSD.org Module Name: src Committed By: hannken Date: Wed Jul 22 08:33:51 UTC 2015 Modified Files: src/sys/dev/ic: mpt_netbsd.c Log Message: Adapter leaks requests when mpt_event_notify_reply() has to acknowledge an event leading to "adapter resource shortage" messages when the scsipi subsystem tries to use all adapt_openings. Change mpt_ctlop() to free the request on event MPI_FUNCTION_EVENT_ACK. Tested on a SunFire X4275 with Symbios Logic SAS1068E (1000:0058, rev. 4). To generate a diff of this commit: cvs rdiff -u -r1.31 -r1.32 src/sys/dev/ic/mpt_netbsd.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.