From patchwork Thu Feb 2 00:58:32 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bart Van Assche X-Patchwork-Id: 9550949 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id CA1EF60415 for ; Thu, 2 Feb 2017 00:59:43 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B558B2844A for ; Thu, 2 Feb 2017 00:59:43 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id AA73C2845B; Thu, 2 Feb 2017 00:59:43 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1B43A2844A for ; Thu, 2 Feb 2017 00:59:39 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751423AbdBBA7i (ORCPT ); Wed, 1 Feb 2017 19:59:38 -0500 Received: from mail-cys01nam02on0055.outbound.protection.outlook.com ([104.47.37.55]:1857 "EHLO NAM02-CY1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751399AbdBBA70 (ORCPT ); Wed, 1 Feb 2017 19:59:26 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sandiskcorp.onmicrosoft.com; s=selector1-sandisk-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=6puPgOztSah0q9aLFs28pnv+CkyJ3EWh/VjJD3vIO7A=; b=G8tlAT1ZVJgQ37pOPMdemflWRQw3bRkbayNPzCSqr40rsywHF7/akgmJic/3uOlQSRn54Rj1UFtg5hRRS2UJVpN+nABdKzJqYbSuYSgxxNOyEXr2IQfb3yO/3i7GVtjCFUJ9DotvgNNh6rNKkje7CqlAv/oF7F8oxyBIP3B7qM4= Received: from BY2PR02CA0040.namprd02.prod.outlook.com (10.141.216.30) by BLUPR02MB035.namprd02.prod.outlook.com (10.242.191.21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.874.12; Thu, 2 Feb 2017 00:59:03 +0000 Received: from BL2FFO11FD052.protection.gbl (2a01:111:f400:7c09::149) by BY2PR02CA0040.outlook.office365.com (2a01:111:e400:2c40::30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.874.12 via Frontend Transport; Thu, 2 Feb 2017 00:59:03 +0000 Authentication-Results: spf=pass (sender IP is 63.163.107.225) smtp.mailfrom=sandisk.com; redhat.com; dkim=none (message not signed) header.d=none;redhat.com; dmarc=bestguesspass action=none header.from=sandisk.com; Received-SPF: Pass (protection.outlook.com: domain of sandisk.com designates 63.163.107.225 as permitted sender) receiver=protection.outlook.com; client-ip=63.163.107.225; helo=milsmgep14.sandisk.com; Received: from milsmgep14.sandisk.com (63.163.107.225) by BL2FFO11FD052.mail.protection.outlook.com (10.173.161.214) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.874.2 via Frontend Transport; Thu, 2 Feb 2017 00:59:02 +0000 Received: from MILHUBIP04.sdcorp.global.sandisk.com (Unknown_Domain [10.201.67.162]) (using TLS with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by (Symantec Messaging Gateway) with SMTP id DA.BC.01420.E0282985; Wed, 1 Feb 2017 16:49:18 -0800 (PST) Received: from milsmgip11.sandisk.com (10.177.8.100) by MILHUBIP04.sdcorp.global.sandisk.com (10.177.9.97) with Microsoft SMTP Server id 14.3.319.2; Wed, 1 Feb 2017 16:58:57 -0800 X-AuditID: 0ac94371-7ee9b9800001058c-a1-5892820e243d Received: from exp-402881.sdcorp.global.sandisk.com ( [10.177.8.100]) by (Symantec Messaging Gateway) with SMTP id CE.63.16817.15482985; Wed, 1 Feb 2017 16:58:57 -0800 (PST) From: Bart Van Assche To: Bart Van Assche CC: , "Nicholas A . Bellinger" , Christoph Hellwig , Andy Grover , David Disseldorp Subject: [PATCH v2 15/36] target: Add a missing target_put_nacl() call Date: Wed, 1 Feb 2017 16:58:32 -0800 Message-ID: <20170202005853.23456-16-bart.vanassche@sandisk.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20170202005853.23456-1-bart.vanassche@sandisk.com> References: <20170202005853.23456-1-bart.vanassche@sandisk.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrPLMWRmVeSWpSXmKPExsXCddJ5kS5f06QIgz0rNC32z3rGZPH1/3QW i5WrjzJZtK0+w2jRuvQtkwOrx/3tR5g8dt9sYPN4v+8qm8fm09UenzfJBbBGcdmkpOZklqUW 6dslcGVMWXacreAaR8WOpWsZGxhPsncxcnBICJhIHP7v0MXIxSEksJRJ4tjdJsYuRk4gZzuj xLxrmSA2SM2c+SeZIYo2M0q0z9jFCpJgEzCS+PZ+JguILSJgIPG79wIjSBGzwC5GicPn2thB EsICbhJvHj0Cm8oioCIx4etyZhCbV8BB4uTnCWwQG+QldrVdBBvKCRRffBxiqJCAvcS3P0dZ QIZKCExjlXh74joTRLOgxMmZT8CKmAUkJA6+eMEM0aAucXLJfKYJjEKzkJTNQlK2gJFpFaNY bmZOcW56aoGhiV5xYl5KZnG2XnJ+7iZGSLAX7mB8fdv7EKMAB6MSD6+AyKQIIdbEsuLK3EOM EhzMSiK8vo1AId6UxMqq1KL8+KLSnNTiQ4zSHCxK4rytr/sjhATSE0tSs1NTC1KLYLJMHJxS DYw6vH9u/83xzf5TuGj/AnERzmURLO4rpuXeqNna4Zq8oH5dZYHbtS3vaoU/d2tPtj5zpc/x 5eWMn88ihGL4mPqYd+vxdy3fOImP99lF4Q3zSvk/3oxtcVllYLxtis5bOb5T742iHxrz5dd9 lJqdLXZln/Wh6HyfS9us/z5UlmO68ku0NnN76z4lluKMREMt5qLiRABtaC2XcgIAAA== X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrAJMWRmVeSWpSXmKPExsXCtZEjRTewZVKEwdlOPov9s54xWRz82cZo 8fX/dBaLlauPMlm0rT7DaNG69C2TA5vH/e1HmDx232xg83i/7yqbx7Q155k8Np+u9vi8SS6A LYrLJiU1J7MstUjfLoErY8qy42wF1zgqdixdy9jAeJK9i5GTQ0LARGLO/JPMXYxcHEICGxkl Ju+8yQKSYBMwkvj2fiaYLSJgIPG79wIjSBGzwB5GiTUdLUwgCWEBN4k3jx4xgtgsAqoS0+48 ZQaxeQUcJLbMnswMsUFeYlfbRVYQmxMovvg4xFAhAXuJb3+Oskxg5F7AyLCKUSw3M6c4Nz2z wNBQrzgxLyWzOFsvOT93EyM4TDgjdzA+nWh+iJGJg1OqgVHpcvLf7LirOqx1fBov38xuUZ7X KrY6IlXR9XLEPO6KWxvsL2z+5n2RTVL3l2vyEf6Tl6+ZHv3C/fHV6kQXaebdoonl1kK8lfst /XS3Nsx/W9be4PwkZCfXpXjmc2ekfhTteXiu99oKzaXy6Xx18mUfJh28Ynv80pt3Z2zO/wzN msQiIR45+6ASS3FGoqEWc1FxIgCMZ9TpwwEAAA== MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-HT: Tenant X-Forefront-Antispam-Report: CIP:63.163.107.225; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(6009001)(7916002)(39410400002)(39850400002)(39450400003)(39840400002)(39860400002)(2980300002)(438002)(189002)(199003)(356003)(2906002)(33646002)(50466002)(92566002)(575784001)(48376002)(5003940100001)(38730400001)(8676002)(1076002)(8936002)(97736004)(47776003)(6200100001)(189998001)(50226002)(7049001)(81166006)(86362001)(81156014)(2950100002)(76176999)(305945005)(2270400002)(50986999)(110136003)(4326007)(77096006)(6862003)(626004)(1691005)(68736007)(106466001)(36756003)(69596002)(54906002)(6666003)(5660300001)(53936002); DIR:OUT; SFP:1101; SCL:1; SRVR:BLUPR02MB035; H:milsmgep14.sandisk.com; FPR:; SPF:Pass; PTR:InfoDomainNonexistent; MX:1; A:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BL2FFO11FD052; 1:AMM/GmPlP1siLcQNmSzCw0zMZEi3TBmOL3+AD+BgJ9KsM7Ac58y0oiHp/ibOONHnG86lBoU04RSl0j3ihT05vdCdhH4CUTsSMVasLCwSIe//I39k3Dq2YzFJt/pLMY4n49OBI4xZZm8ny4jnRw+2wQiFyuTQt01jzydNmmJK2dBBH/6Caa6EX067VlYy/K5d5NJCEHv95C9VaVLpXGu+IMeptuYhrJmSpyuQCFotNMvw+pvKfmNFIxrTUV1hwpg3TUE61U5zIn/Au9WYyCqZMACS4xTs/2xmu1rDOZTaDIR7RUxSzFAu/W2j6sw/60z3UhOtWj6uH9jI8y0sy2d8uoT2sa9YhPwobYmqg45QZYrCSY04wtfGjxhOXLoXDTCFdYhx9/l67NOYKxv5Fw8/zxC0gSWkqoxeJa+wa4uRgoQfrRb+uXdM3eQ6Z3ctFbU3JzhXSTKFjod+OFLaH4+5iNzG+eJ+PwezaWgs/plLLkxDmOcAWVM6iGe4XCtFYJd1 X-MS-Office365-Filtering-Correlation-Id: 342b5dfa-c4eb-4234-1387-08d44b06ae49 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(8251501002); SRVR:BLUPR02MB035; X-Microsoft-Exchange-Diagnostics: 1; BLUPR02MB035; 3:Ew1sI3RbRIGs/vgUH8A/VwAPwFjHcUKgQIJ9i64MBPghVKslGfcDaQ3107BjJVbgb16A/YU5CM6fXyhqo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IFyOvP6aQIMktHV38aOgncJIDQt+bnrqhzOJES2WOXtoEXVtz2V3yrvA+HLg=; 20:imvq3nWyDPlxvNwS8/5XlCXO9S738MgG6emInP8hp1vcxUA+lAHvgtRyhRJk4IL/nOVk1plBLxuRsglJsc/AG1Oy5oZY+cwAA4JSw4pdOprqi+RK75MDpzZnR2DSeqTnucFOVXTVS1Uh/9FLqZQeHZjbLJjVo5U1qfwLiV/GxldoN/xqEz5u4xKurCVwcahYN/zvp42UUoQrXkcsK+K0yqk+KqBcjK56zjJk7KWTtKtS7EwrHqw4wmwS7qhxSmp+/SYglxt7ktnwjsOwMGuh0/NUONnCdRLSGtiEavlgLrX3KJ48Osis6yehClUU7b6Zcs/cRRJRnaAoCdHnRqM/ipTqTvA04K40PHYzd80KadMjoq34rffhjvuUpkz7RsqHem23Pngqp7sRMfXyjGtjhwzPtMg4mktwH5OZEdwGteQB3VZz6AX84K0/kc0jj1zjfcY3STcuA0jStcFToruIa4UlerWre31Bc9CL0xPGayMm+3ugu7n1sqxhymx9dKgN X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(42932892334569); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040375)(601004)(2401047)(13018025)(5005006)(8121501046)(13016025)(10201501046)(3002001)(6055026)(6041248)(20161123558025)(20161123562025)(20161123555025)(20161123560025)(20161123564025)(6072148); SRVR:BLUPR02MB035; BCL:0; PCL:0; RULEID:; SRVR:BLUPR02MB035; X-Microsoft-Exchange-Diagnostics: 1; BLUPR02MB035; 4:Gj4ke6YIhEjE+DGbqk0t1L2uxkRfvAdBWUq5eGK6Ius47LzQCqUBzYGiCNXo8uIk0Yq+ThItLsMkjUHzhdge/fa/uGVzIbDvSiwYxfJnhQv7ULIJPmoyLJxj8Ns+PCm5vs5a6+G9QJ3xFveHyqHqAe8HY8WtQlhW8DUHj0evW0kFt968d9s0BM2YkIdIBd163scga+qqxzI5AZgH6XT4ajc8B63ZGTkG1I97V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y5H9kaagv2std3cQSF/dGDmPCfHPjoY2iQPaDscvScvyepVj2edyg6wdrWB4MOAEI3t8TCL9XqrxR9TjjrqO+ltT0tQ7GQCUpGTEZCmNN14zFtoWmiDBsEzzzOQ6fGSeQ9SDZpeLzGi0DCi0KRLRR7qgTCsvoSlzbYBc4Nwh/UQDkc+3PqzeR9ExF6xhrsZoxddfn8PTsJnmFLzVPISvGnfupf/LU7+cHWLJ/WPtFPbSCuMSmx1U53TzCaaaxLYg4Tw4IPeIaUhH3NMtGq2Oy8BZh3f5ZCwPc62HvC8/2PsrCFigkFkxngMJiMMRcAARRQ3OMO X-OriginatorOrg: sandisk.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 02 Feb 2017 00:59:02.6846 (UTC) X-MS-Exchange-CrossTenant-Id: fcd9ea9c-ae8c-460c-ab3c-3db42d7ac64d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=fcd9ea9c-ae8c-460c-ab3c-3db42d7ac64d; Ip=[63.163.107.225]; Helo=[milsmgep14.sandisk.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BLUPR02MB035 Sender: target-devel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: target-devel@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Ensure that complete(&nacl->acl_free_comp) is called before the node ACL is freed. Fixes: commit 21aaa23b0ebb ("target: Obtain se_node_acl->acl_kref during get_initiator_node_acl") Signed-off-by: Bart Van Assche Reviewed-by: Hannes Reiencke Cc: Nicholas A. Bellinger Cc: Christoph Hellwig Cc: Andy Grover Cc: David Disseldorp --- drivers/target/target_core_transport.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/target/target_core_transport.c b/drivers/target/target_core_transport.c index 1ded71800a2b..782b511c4f5f 100644 --- a/drivers/target/target_core_transport.c +++ b/drivers/target/target_core_transport.c @@ -568,6 +568,7 @@ void transport_deregister_session(struct se_session *se_sess) core_tpg_wait_for_nacl_pr_ref(se_nacl); core_free_device_list_for_node(se_nacl, se_tpg); se_sess->se_node_acl = NULL; + target_put_nacl(se_nacl); kfree(se_nacl); } pr_debug("TARGET_CORE[%s]: Deregistered fabric_sess\n",