Message ID | 20190125183458.220477-8-bvanassche@acm.org (mailing list archive) |
---|---|
State | Accepted |
Headers | show
Return-Path: <target-devel-owner@kernel.org> Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 3CE1614E5 for <patchwork-target-devel@patchwork.kernel.org>; Fri, 25 Jan 2019 18:35:41 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2D31B2CFC3 for <patchwork-target-devel@patchwork.kernel.org>; Fri, 25 Jan 2019 18:35:41 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 219302D40C; Fri, 25 Jan 2019 18:35:41 +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=-7.7 required=2.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI 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 A6B34299B5 for <patchwork-target-devel@patchwork.kernel.org>; Fri, 25 Jan 2019 18:35:40 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726761AbfAYSfk (ORCPT <rfc822;patchwork-target-devel@patchwork.kernel.org>); Fri, 25 Jan 2019 13:35:40 -0500 Received: from out002.mailprotect.be ([83.217.72.86]:58983 "EHLO out002.mailprotect.be" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726468AbfAYSfk (ORCPT <rfc822;target-devel@vger.kernel.org>); Fri, 25 Jan 2019 13:35:40 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mailprotect.be; s=mail; h=Content-Transfer-Encoding:MIME-Version:References :In-Reply-To:Message-Id:Date:Subject:Cc:To:From:reply-to:sender:bcc: content-type; bh=ICxJpr93i+Nuz34RZ/by9eY7H/H0HbGwy4nq2Te7cX0=; b=dPLjXYGfpFjb YonPl10uGkeLIjwk96N9aust5ytlMQkte5FMsEmOhJDPytqKhp4hjMOYEIxy4eheMo6EN266moeml +1/K0B/FscgbPdxwyq0ukmOIj5/kphWnYnzKGz3NZPocjRFXcorbxt+c3EfgbNSWFZJimzAGUC3GN KDg+krIZmK4HkouG8dF8XiCufgDXs61FPtLU6gVuwnxEIPSRjlmFjPMxQ6ksIGzECFMciDAoIjDzx +7FgOzR/VfyRF2SAdX/P5P/Tjiu4Ne4x8bqv4Ct8jI7t7Gxb5VB2/9qlhPyYqnGxhn74PcwBl30io UvIYXKPYl6dQz3lI55RKdQ==; Received: from smtp-auth.mailprotect.be ([178.208.39.155]) by com-mpt-out002.mailprotect.be with esmtp (Exim 4.89) (envelope-from <bvanassche@acm.org>) id 1gn6K5-00041F-A7; Fri, 25 Jan 2019 19:35:25 +0100 Received: from desktop-bart.svl.corp.google.com (unknown [104.133.8.89]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp-auth.mailprotect.be (Postfix) with ESMTPSA id 115A8C0E37; Fri, 25 Jan 2019 19:35:20 +0100 (CET) From: Bart Van Assche <bvanassche@acm.org> To: "Martin K . Petersen" <martin.petersen@oracle.com> Cc: Christoph Hellwig <hch@lst.de>, target-devel@vger.kernel.org, Bart Van Assche <bvanassche@acm.org>, Hannes Reinecke <hare@suse.com>, Doug Ledford <dledford@redhat.com>, Jason Gunthorpe <jgg@ziepe.ca>, Nicholas Bellinger <nab@linux-iscsi.org>, Mike Christie <mchristi@redhat.com> Subject: [PATCH 07/16] RDMA/srpt: Fix handling of TMF submission failure Date: Fri, 25 Jan 2019 10:34:49 -0800 Message-Id: <20190125183458.220477-8-bvanassche@acm.org> X-Mailer: git-send-email 2.20.1.495.gaa96b0ce6b-goog In-Reply-To: <20190125183458.220477-1-bvanassche@acm.org> References: <20190125183458.220477-1-bvanassche@acm.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Originating-IP: 178.208.39.155 X-SpamExperts-Domain: mailprotect.be X-SpamExperts-Username: 178.208.39.128/27 Authentication-Results: mailprotect.be; auth=pass smtp.auth=178.208.39.128/27@mailprotect.be X-SpamExperts-Outgoing-Class: ham X-SpamExperts-Outgoing-Evidence: Combined (0.03) X-Recommended-Action: accept X-Filter-ID: EX5BVjFpneJeBchSMxfU5sigSefPQad3GTEzSFXcT9N602E9L7XzfQH6nu9C/Fh9KJzpNe6xgvOx q3u0UDjvO1tLifGj39bI0bcPyaJsYTagCTS5H5Pie2sCQ3gGSzr06cM7U7xDGmYwNG93LVnxwxjk yGQYCd08t3lHobjxX/OigDGQOIiVUN5rGO3B5zfV6lLB7UkASj5+Q7Z1jo1wYoGcQZDc/NA+AYRc xIJwNJDswajEtdTx0z97RFosJ+0XX4J8p9+Z4Omt11SsRVhZc5O0+hI4m8XEgLG9kXesazurVxXh H80moATcJz9k4m0jSta6vzX6sWvOVdfPU9Q907I7wX4PVM8uRZ9JrPUGzdFA3jowT7Vk6IsEkXT6 JBEZqJ2jUG6iVD0cGbSjkzfIDnL7bykX8cT9ReKnRim+apKC0G2y+Mr2ale9nnzXJ+o1UDSGW782 k6dpc2+siniZEaBBQD2I5QH2BdbXmK3rYa8ppXum6KZe4eMUTLjXn3BvjnQnhcJex8V1sw+C2xqM rAbZykneW87JZ7jdpAlXQVADDgYNo2L2ikikIJmXA+EJKJ9CDjyJqwMkv6BJB2lztCOV7QtxJNU+ igS6jZCzGqpJmuDNJ3/L9Q9wLc4aqLRUvPEObNwbSIpq9S/jgd899z3dKxLhoxcmaInYbR5vlqFZ JlLyK2ygHNTfy41Cttvo7sn//RcLEIwmfxtejjVQPRdR7J54uCh7y/cyXn4gNizEl4GT+izmPxps 5i3VIDAVOJYVhKWF91egvasFoFaoK60jiD6XqsJZtjQxlyCdseyHOMuZZG++RlG2AEFbDFHRYfQQ D0IVT5dlkCOLok5OEqSW2lt5aih+W51C5Y+/8f2vXHVFggc0157Ysxlq5Z3dsksKeFRmKOHI/40C LjPihwIeoj9zwqNSJz8SHmCZ+bxCLHLD8M1AAidHW08kKeoFJwcvz6VMYEhUT3FsSRfv2/sMSIEg vIcW6VO3wxn7YUf7u61u5IuMkrMG8QweKkluR++MnGtTYbCYZvju5BZegSG7X+t1TW39Ja77LGPp OwAj6IMP28aPMtl2u6Kx+4+Huxzv1d6/j7MDIN1SScQedH2YWYgPyAz1BkOLTUiGJowwNFwKBhAh 7NeKYzwwwYGp+p2okElJG6VbPeUnGhV3sd4rxYOjbs6j0mefY0b4ffxz8Ne0ck6P4ivKdWmRJx+g ZBY48FVjzYzwQJ8NPI1L8nQzI24Mi0RodUDIJ7TXkAZ8Lg3hgpwJj9Y7nkVKceR7 X-Report-Abuse-To: spam@com-mpt-mgt001.mailprotect.be Sender: target-devel-owner@vger.kernel.org Precedence: bulk List-ID: <target-devel.vger.kernel.org> X-Mailing-List: target-devel@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP |
Series |
SCSI target patches for kernel v5.1
|
expand
|
diff --git a/drivers/infiniband/ulp/srpt/ib_srpt.c b/drivers/infiniband/ulp/srpt/ib_srpt.c index 4fc901d1c0c1..0dc2df925f76 100644 --- a/drivers/infiniband/ulp/srpt/ib_srpt.c +++ b/drivers/infiniband/ulp/srpt/ib_srpt.c @@ -1581,11 +1581,9 @@ static void srpt_handle_tsk_mgmt(struct srpt_rdma_ch *ch, TARGET_SCF_ACK_KREF); if (rc != 0) { send_ioctx->cmd.se_tmr_req->response = TMR_FUNCTION_REJECTED; - goto fail; + cmd->se_tfo->queue_tm_rsp(cmd); } return; -fail: - transport_send_check_condition_and_sense(cmd, 0, 0); // XXX: } /**