Message ID | 20170110190822.16953-14-bart.vanassche@sandisk.com (mailing list archive) |
---|---|
State | Superseded |
Headers | show
Return-Path: <linux-rdma-owner@kernel.org> 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 A4CB960231 for <patchwork-linux-rdma@patchwork.kernel.org>; Tue, 10 Jan 2017 19:12:30 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9824428553 for <patchwork-linux-rdma@patchwork.kernel.org>; Tue, 10 Jan 2017 19:12:30 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 8BECF28596; Tue, 10 Jan 2017 19:12:30 +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 ED4C928553 for <patchwork-linux-rdma@patchwork.kernel.org>; Tue, 10 Jan 2017 19:12:29 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1764320AbdAJTKX (ORCPT <rfc822;patchwork-linux-rdma@patchwork.kernel.org>); Tue, 10 Jan 2017 14:10:23 -0500 Received: from mail-by2nam03on0051.outbound.protection.outlook.com ([104.47.42.51]:10297 "EHLO NAM03-BY2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S937454AbdAJTIf (ORCPT <rfc822;linux-rdma@vger.kernel.org>); Tue, 10 Jan 2017 14:08:35 -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=07E6Ksi97y9vy7VHzYLtRwTdVp7Zn8PunGuf82GmEKw=; b=k7eGCl7fjwODcwrMgzfTNwcIh0kMcQfKMHuMBGUywlhZWS4Xq/u+KX2UwQUV3F+zeCK06VLf3CLmaQnKsJQENcB2wHRdpXGgUjrxbKQXaf8Hwo71IN78JJjjqYtXRat3tZbahnR0Dvl0KJqicgThHBAjuMGOjnwtHSk/2dlEbtE= Received: from BN6PR02CA0070.namprd02.prod.outlook.com (10.175.94.160) by BY2PR02MB042.namprd02.prod.outlook.com (10.242.44.21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.829.7; Tue, 10 Jan 2017 19:08:33 +0000 Received: from BN1BFFO11FD004.protection.gbl (2a01:111:f400:7c10::1:141) by BN6PR02CA0070.outlook.office365.com (2603:10b6:404:f9::32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.829.7 via Frontend Transport; Tue, 10 Jan 2017 19:08:32 +0000 Authentication-Results: spf=pass (sender IP is 63.163.107.21) smtp.mailfrom=sandisk.com; vger.kernel.org; dkim=none (message not signed) header.d=none;vger.kernel.org; dmarc=bestguesspass action=none header.from=sandisk.com; Received-SPF: Pass (protection.outlook.com: domain of sandisk.com designates 63.163.107.21 as permitted sender) receiver=protection.outlook.com; client-ip=63.163.107.21; helo=milsmgep15.sandisk.com; Received: from milsmgep15.sandisk.com (63.163.107.21) by BN1BFFO11FD004.mail.protection.outlook.com (10.58.144.67) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.803.8 via Frontend Transport; Tue, 10 Jan 2017 19:08:31 +0000 Received: from MILHUBIP03.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 29.A9.65426.A8E25785; Tue, 10 Jan 2017 10:57:14 -0800 (PST) Received: from milsmgip11.sandisk.com (10.177.9.6) by MILHUBIP03.sdcorp.global.sandisk.com (10.177.9.96) with Microsoft SMTP Server id 14.3.319.2; Tue, 10 Jan 2017 11:08:24 -0800 X-AuditID: 0ac94369-b62949800001ff92-d0-58752e8adac6 Received: from exp-402881.sdcorp.global.sandisk.com ( [10.177.9.6]) by (Symantec Messaging Gateway) with SMTP id 2A.38.16817.82135785; Tue, 10 Jan 2017 11:08:24 -0800 (PST) From: Bart Van Assche <bart.vanassche@sandisk.com> To: Doug Ledford <dledford@redhat.com> CC: <linux-rdma@vger.kernel.org>, Moni Shoua <monis@mellanox.com> Subject: [PATCH v2 13/15] IB/rxe: Fix reference leaks in memory key invalidation code Date: Tue, 10 Jan 2017 11:08:20 -0800 Message-ID: <20170110190822.16953-14-bart.vanassche@sandisk.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20170110190822.16953-13-bart.vanassche@sandisk.com> References: <20170110190822.16953-1-bart.vanassche@sandisk.com> <20170110190822.16953-2-bart.vanassche@sandisk.com> <20170110190822.16953-3-bart.vanassche@sandisk.com> <20170110190822.16953-4-bart.vanassche@sandisk.com> <20170110190822.16953-5-bart.vanassche@sandisk.com> <20170110190822.16953-6-bart.vanassche@sandisk.com> <20170110190822.16953-7-bart.vanassche@sandisk.com> <20170110190822.16953-8-bart.vanassche@sandisk.com> <20170110190822.16953-9-bart.vanassche@sandisk.com> <20170110190822.16953-10-bart.vanassche@sandisk.com> <20170110190822.16953-11-bart.vanassche@sandisk.com> <20170110190822.16953-12-bart.vanassche@sandisk.com> <20170110190822.16953-13-bart.vanassche@sandisk.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrDLMWRmVeSWpSXmKPExsXCddJ5kW6XXmmEwalVShYvz39gtXh2qJfF YsP7NewOzB7Pph9m8ni/7yq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Y1jVN5bOz5Zb9Pv11hd8EU6aJ Da0Wn2auNor6trLpC3dWTkJY+bPZAfxXlhzSTdzrOKn4UOBWOYcc/Z67T37UrkzdamEVUyPw srjO2t7wqqzm49RFzir3HOvedu/s4v8e+tjxRo4SS3FGoqEWc1FxIgB1JsrZpQEAAA== MIME-Version: 1.0 Content-Type: text/plain X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-HT: Tenant X-Forefront-Antispam-Report: CIP:63.163.107.21; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(6009001)(7916002)(2980300002)(438002)(199003)(189002)(69596002)(54906002)(38730400001)(2906002)(47776003)(8676002)(36756003)(81166006)(8936002)(5003940100001)(81156014)(97736004)(68736007)(77096006)(50226002)(2270400002)(48376002)(106466001)(4326007)(1076002)(92566002)(305945005)(189998001)(110136003)(50466002)(6916009)(2950100002)(6666003)(50986999)(626004)(86362001)(5660300001)(33646002)(93886004)(356003)(76176999); DIR:OUT; SFP:1101; SCL:1; SRVR:BY2PR02MB042; H:milsmgep15.sandisk.com; FPR:; SPF:Pass; PTR:InfoDomainNonexistent; A:1; MX:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BN1BFFO11FD004; 1:NWcVcNnjL0DTjL3qJ/tzsW3Io4Fn8T9f4R8k96K9/JGU1AuNh3WvLpl9bxVwbbq5jyZzk/im2YD8l29G9u+6e7n/gfj2PjAzKeLuhInpGMI7WpFto7ZC9wUGTjrVUHucxVrxyjYWmVl/7oLirYhSvFLiT1OWt7+uHnaz77IQ7L8bdYvS9Spbn6nvyBBXvakEJP+fBk512w5qN6UTEwF006SOKWDnyVkr8r9/52/otYa/9g4YN453ecZN5W8EoBCtbsgk1ZbFcIFkZZC9D8tROq4pZrwgYbQo71l8kjDH9CN9mlmj6v6QiAJGYp1TmAh5dpwNYNkc06/Busuy2PMafh4P5wVDGmZuCtRlOs79nphPkpbjDSe4GUnyvVd1gyQd0I7kcjyGRRn6uC8OME9tQTy8ElKCujpZJh9qQseoUmyLQMofbPUNS/NARriI3mVflQ5l5tW9D2+Lh5tAkfUBYMQ09xV3LLNxhBnEwvgCai1tBVwkhZQSP+CjQcjuRkmKe9Hxlnsaq6+EsqK8NTy2JQ== X-MS-Office365-Filtering-Correlation-Id: d2ef3f56-8119-492f-11d1-08d4398c11d5 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(8251501002); SRVR:BY2PR02MB042; X-Microsoft-Exchange-Diagnostics: 1; BY2PR02MB042; 3:fGtvrT8SV9vz0UpWo15aa133UwWOT+8mLqGv6fo77R3iSXj2ylh0LQ1qXf9dolkUqnvnrc/X8uVCczTBxW2RBRxsd3ph0YQeyMJzdsExZmXrhTWlTzjkjqgOSOA5YDEZaQGXp2t6nKmElTSW1HGZJqY/GGaUAmF5FbgS86O4Igsyj1VJL18EUe+JSyZH5vmhPAc+4X2OXVudggadHw6FspT3Rzv8fizEw8JPp1ddc11++lDHNz1WoVOGDXYOlFXqMgBWo8W3Iidozodl1dq8Y0PGfJDyiXy8vR/3WjYbLv/yGtXt2N7nyQRWOy47pEkOsvV9od/mmXhjU+VDkFr0VgN1XEueaOWlumodZD1QMYqWBGaP/90fnMY72fxJKyzi6INm7EZtluUZRBJ39U7ygQ==; 25:m5fIqbrFjyTS4KWSYuVTbsfXfE0jKeaYCYCkJx6HTMevlUzqvIbY+Smov4XSYeUbKuJ119rVAvVTZ7bFN65+MsuThikKD1FqQfrgS4Sm+80SczYvgd6d9onugo6qsQ/RdbE2hwXqm2tc+usFdGNkM9jtMNt2mxs52Rbc8YCUClt+zgV3bHyk1yWaHRYSsUlKuA2G/JrlCzWXA4RT9CK6JjzzvsaR86oUBYLwP6jbeBkK94dncT+HkYNKX8ipxXKX23jDrRazbVXxS/28wo1fcIpdfQr34iniiwJtDQBOM8m/rOecSyqrHEzcB/bJox7j3RUOo20Mr1Zl60+/KjSvkdxZixlTzk2ySIo0H7lKWCTr7AcD4vqjueRHBd5JIViK3ZkFFVq0aOk/OiOCzRzxcFaixmWRNwDPBbov6f1uBGomCEeDS215u1qpGm5vIM9eJdtu6zSI3kYrUH3rGWd1oQ== X-Microsoft-Exchange-Diagnostics: 1; BY2PR02MB042; 31:N6d3JuTPMINLWbNktd0BtKc78rpRZqCRzJVn1gpMEM92wsla8jOC77nNJgiEm/ZKA/lKLeXDPQ12IijtlY1L8qxrv1wTdyOWYWzVRr9fijYnKQxVIU16z8psFstMXf/kc7H6F9c0M8UveZZQEfelpwmhrb1DKo2HXD1R1KSYcUvAgs2kc79tZvVePZE0xs/E6a3qlbPRbpqT7+MJ7J2E37ljiXnjPFA9y2d/E1IxddhoUWiuxOXY/rOxKw0Y2gmzDdPF91sGggDjchO7sNCJNg==; 20:xdyg9iTtv6jzRscTVtG61B41vTmJ1qvvZcy0/zK37g7romi5k3vIIdDuH3H1xI1g3F46w8g4FlV/UUZJtYUdtienXxnHbWpjKz22wUQIe8UvmlhERZBB9yN+hg7kUVNRA1AcMDq1/77beFqbobVrmaYfmJpG89+8hchpuqR5u0yG3oRkjK29qoK9XkPpy98AfKGls+UlIouFBHXuKDz+ZokdIQD0XySfSSdPg6/h7Xbf0euUblo8XEYNyz3e8tptorP6OVf8p2d6aRgceRK4Wh3+DGOuV+UY9cUlCm2ZWNH0FSQoAG8nUS00kZK0mLSkdC2T+T0AE+BPgyLMayogzCLU5xnM6ktmjCYTXB0bdFFoL6vqlnBRfFJulhSsrN9bSH2348ugcIF3Dc7LbiA1KBButvY6DX2zvrgMGxqtwaljpR1hXXxmWIggy7BAaJmp0NCoACCOD2gBjFBV+iowP80GIyeFvJbQrPyOn4F6zvfzA3HxwNcRik8o9MZo63oZ X-Microsoft-Antispam-PRVS: <BY2PR02MB04228B573B1E6C75E2BC88981670@BY2PR02MB042.namprd02.prod.outlook.com> X-Exchange-Antispam-Report-Test: UriScan:(56004941905204)(42932892334569); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040375)(601004)(2401047)(13016025)(13018025)(5005006)(8121501046)(3002001)(10201501046)(6055026)(6041248)(20161123562025)(20161123555025)(20161123564025)(20161123560025)(6072148)(6042181); SRVR:BY2PR02MB042; BCL:0; PCL:0; RULEID:; SRVR:BY2PR02MB042; X-Microsoft-Exchange-Diagnostics: 1; BY2PR02MB042; 4:GfzWfPqG1NUNmcx7D5Jmj3ed9Vdsp3yum9SGOHbVGyTCRhtXJ3DIt1Ec6wqZFIgVSmzCbaN3KHMFD5sxanMPBqq51RjiQCmzMlv1tUrFg7wnUCH0+XP2axfTxVVCsAe3UK8QPY5Zus4wWNf6CVEH7GOQk6Oh+Rx13Wpn4lx6jps7+ZzeZdCZLfm+DDRYBzWzffp9pOdFq1+gshyrPjvK2M3ae4nv5Saj5siUZJ3h0FPqu9QRGlFL0hRbAe7+4tYvLXKictMvxDN+vz3GXZZhQYHaKgm/8N/sea8NF+mmnNMow2ZjdOPvW36ZKKyDUDGDaFAfti8rkXKI4uO7S+GfFYO/0yydaH68TayfcC/gWAQYn9X8Zc5xhJwDs+pxB4ojRMvBOw0OwfVKBqb95ZM9TXPBtLxhBgjymGf64aMSc/ueM84rLWerj92WO4tT2KlkbFZ3ivCpoIKPd9w64hpbvdspXzRT3reFpHwkR5HbOuutChmrnYRRESiFGUYlv7I8Vhb3qJdTA1DGF0L986W339hbEBQrQ1T1ooTtmCizSheojRVb+G8fmKahL6MgZdBnfKKSDGfcruQHDV/Oq0GgDQ22PxTgbY1bopt6EtYk0tYOZLRD+OrrbiCBj8fq+MtU/APuUDYddsj3FTvy0EYrqzwRHIln+It813otNu0/glXUjaiEdBLJ5iJ63eRauzDJCQJE9d9GU7FFexLymfJb+MDmQbnRP+YELr/586uFL24= X-Forefront-PRVS: 01834E39B7 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BY2PR02MB042; 23:mhokTZeYOrVllC/TC3HMtb9F6AE2wm1R9IGVrPFWS9?= =?us-ascii?Q?nqSbC39p/0QHCKLQOqurT/L3fiQWfEvndmzDDpZHnNQCst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gE9xNTMwP+SuLND6NLmXHbE3QvdIFoJ6VATSDZJe6yFg8tIm?= =?us-ascii?Q?wCgRuXGkgQhrk8wNrfhrgP?= X-Microsoft-Exchange-Diagnostics: 1; BY2PR02MB042; 6:1dIMCmyo2m/ZAfSvx+/ldcnVPvQJUESVzroUAax0r3/Jb0+TpGBdA0dOitfUZwqziNA75ck3oKsKd6SjCupiUnNbHTh0P2vwmawYz1DeMYoYNe8+dOBu/iFajj4g2ucZQLvrSSlBaNPyIGtQgaRxmVk/gvMQw2m9Ci9Ih7LvlpW39xYwYjq32ck5tHiF5lsXrr9Myn3hE+2jP+4EEiZ6Gr106Mt2LgabkCtt4bdGb3pY/YubiPqH710otuCNF3V7CgpwQMPcApCYZZY8J76wF33Wy62TgKbo9doikjPqhucwDAMMh0UEgVWfnBDNGhwCClCo5dLkw5rUk/uiiULNAgkY1COlyHaQUtk3+upkqP+fq12edYFlXsHBcI6cfrKjd/rWFj/+M7zBFpQOqYqou1cS9iAZfZGQbs1s+KaKPrxY2fi3K5JXMbkMXbT+4xTiyhKDrgme1CanMacf3H8HoQ==; 5:/NkdmXDXHT6apCgdyZQNNRD0krWIwqlt2HgM9kqHaaLFQWDSTiNexA4PvlYAJMszPL6MHxK2eFdhN/0UbA37cdErm904a/j4GwvERRsDqQcnYmyeiW8o7VMOhX2jQiJfYsqPFMOF/YmazDCJfWldlgHYDo/cu7BTnq6bpyKQC1U=; 24:W5HfFtGOU34dg9ZkEKlkLDAWX8HxLUkbp+3HPnoN3GS90cZ8FFyv6Wzaxk6z0Rr6TXdABz97Gh1TIWi6V0/BTUMY/+FX4qXoBJI9VtYrrpw= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; BY2PR02MB042; 7:zwsoV4uA/4yGpj+TlnPbjgal/1tehrPvV1awCh29hdBqTcx4CXa5HN7ZfovJHs8dZBdKY4B8q/V2PnGtgWg5Ri6IecYl5K9Y+frx6SJqQiOJesKxkRvjTMD+hNgalVTLZmShfYSZCBWIjmJmGET5mCEZSyRrrV4Y7Z4hdYUyBVpebSZ5PzqBpiKF+R/d6DEjHcrzTO/j21ukWq4tTXwLVM1b40Pa2476ZmaDuk28oQ93Sa3AgqZfcF7eMJE/GbGLt55tLqfSdeJRrVkXKM5yo7h2PLAIMcMJCmftMbK9Dd2QB6xexPhnPdRFcZa5v47HGWqINH++e/uTAoAuN0eOM1zVoqU4Bn/cuY3JFXgf8WVhHJXPnM1lZBnzPFJwNm+MHeBzDOJI7/antcVyIwGNndFrL9W17ujW2zbR1eoI4HHcqEgYY6ChxpmavmkSq/bF4nwoT28++blo+/yiLWTCWA== X-OriginatorOrg: sandisk.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 Jan 2017 19:08:31.9719 (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.21]; Helo=[milsmgep15.sandisk.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY2PR02MB042 Sender: linux-rdma-owner@vger.kernel.org Precedence: bulk List-ID: <linux-rdma.vger.kernel.org> X-Mailing-List: linux-rdma@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP |
diff --git a/drivers/infiniband/sw/rxe/rxe_req.c b/drivers/infiniband/sw/rxe/rxe_req.c index d62be4828899..512e74326b16 100644 --- a/drivers/infiniband/sw/rxe/rxe_req.c +++ b/drivers/infiniband/sw/rxe/rxe_req.c @@ -635,6 +635,7 @@ int rxe_requester(void *arg) goto exit; } rmr->state = RXE_MEM_STATE_FREE; + rxe_drop_ref(rmr); wqe->state = wqe_state_done; wqe->status = IB_WC_SUCCESS; } else if (wqe->wr.opcode == IB_WR_REG_MR) { diff --git a/drivers/infiniband/sw/rxe/rxe_resp.c b/drivers/infiniband/sw/rxe/rxe_resp.c index 60d78f45aa04..05f374986cea 100644 --- a/drivers/infiniband/sw/rxe/rxe_resp.c +++ b/drivers/infiniband/sw/rxe/rxe_resp.c @@ -907,6 +907,7 @@ static enum resp_states do_complete(struct rxe_qp *qp, return RESPST_ERROR; } rmr->state = RXE_MEM_STATE_FREE; + rxe_drop_ref(rmr); } wc->qp = &qp->ibqp;