Message ID | 1483353732.3592.38.camel@sandisk.com (mailing list archive) |
---|---|
State | Changes Requested |
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 9CF4460414 for <patchwork-linux-rdma@patchwork.kernel.org>; Mon, 2 Jan 2017 10:43:51 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A520220008 for <patchwork-linux-rdma@patchwork.kernel.org>; Mon, 2 Jan 2017 10:43:51 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 9800F26212; Mon, 2 Jan 2017 10:43:51 +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 A0DB820008 for <patchwork-linux-rdma@patchwork.kernel.org>; Mon, 2 Jan 2017 10:43:49 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932283AbdABKns (ORCPT <rfc822;patchwork-linux-rdma@patchwork.kernel.org>); Mon, 2 Jan 2017 05:43:48 -0500 Received: from mail-by2nam03on0054.outbound.protection.outlook.com ([104.47.42.54]:29760 "EHLO NAM03-BY2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S932118AbdABKnr (ORCPT <rfc822;linux-rdma@vger.kernel.org>); Mon, 2 Jan 2017 05:43:47 -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=Txre1S3PFYEhNowY+9S/Vq1nQGh+YmEwt0RzaqcY4cU=; b=PzrnmMSVJhjPFg0cpIp3qw0vimYFlZkSter3fXQ3SlG3/kObuhSv+s4ke8WZGCE0eanwp8dsFGieJbjqTQkleqUcFZrH2fuS32TjAqLQ+xEN1VK0ISGC5vBJslCG/p5DJKLivjkJrURZAtOp/t0GAgdBbSSZlpjeH9swK9QfP3k= Received: from BLUPR0201CA0036.namprd02.prod.outlook.com (10.163.116.46) by BL2PR02MB355.namprd02.prod.outlook.com (10.141.91.20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.817.10; Mon, 2 Jan 2017 10:43:45 +0000 Received: from BN1BFFO11FD047.protection.gbl (2a01:111:f400:7c10::1:170) by BLUPR0201CA0036.outlook.office365.com (2a01:111:e400:52e7::46) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.817.10 via Frontend Transport; Mon, 2 Jan 2017 10:43:44 +0000 Authentication-Results: spf=pass (sender IP is 74.221.232.55) 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 74.221.232.55 as permitted sender) receiver=protection.outlook.com; client-ip=74.221.232.55; helo=sacsmgep15.sandisk.com; Received: from sacsmgep15.sandisk.com (74.221.232.55) by BN1BFFO11FD047.mail.protection.outlook.com (10.58.145.2) 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; Mon, 2 Jan 2017 10:43:44 +0000 X-AuditID: ac1c2134-3ffe798000000abf-b1-586a3a256230 Received: from SACHUBIP02.sdcorp.global.sandisk.com (Unknown_Domain [172.28.1.254]) (using TLS with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by (Symantec Messaging Gateway) with SMTP id D9.53.02751.52A3A685; Mon, 2 Jan 2017 03:31:49 -0800 (PST) Received: from ULS-OP-MBXIP03.sdcorp.global.sandisk.com ([fe80::f9ec:1e1b:1439:62d8]) by SACHUBIP02.sdcorp.global.sandisk.com ([10.181.10.104]) with mapi id 14.03.0319.002; Mon, 2 Jan 2017 02:43:41 -0800 From: Bart Van Assche <Bart.VanAssche@sandisk.com> To: "dledford@redhat.com" <dledford@redhat.com> CC: "andrew.boyer@dell.com" <andrew.boyer@dell.com>, "monis@mellanox.com" <monis@mellanox.com>, "linux-rdma@vger.kernel.org" <linux-rdma@vger.kernel.org> Subject: [PATCH 13/15] IB/rxe: Fix reference leaks in memory key invalidation code Thread-Topic: [PATCH 13/15] IB/rxe: Fix reference leaks in memory key invalidation code Thread-Index: AQHSZOUUG08/29MMo0CZOZpJevZ90w== Date: Mon, 2 Jan 2017 10:43:40 +0000 Message-ID: <1483353732.3592.38.camel@sandisk.com> References: <1483353316.3592.14.camel@sandisk.com> In-Reply-To: <1483353316.3592.14.camel@sandisk.com> Accept-Language: nl-NL, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [172.28.1.254] Content-Type: text/plain; charset="utf-8" Content-ID: <B31A297E75D2E74C8397F829CF94729C@sandisk.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFlrKIsWRmVeSWpSXmKPExsWyRobxn66qVVaEwdUmKYtr7ftYLV6e/8Bq 8exQL4vFhvdr2B1YPCbNnMHs8Wz6YSaP9/uusnl83iQXwBLFZZOSmpNZllqkb5fAlbF61x+m gi88FbMmXGBqYDzB08XIySEhYCIxZ88m9i5GLg4hgSVMEp8bbjFCOOcZJdYfvMcKUsUmYCQx e8IeFhBbREBf4tDqlWBFzAJzgYruLGUHSQgLhEh8W9MAVMQBVBQpsXqTHES9nsT2k58ZQWwW ARWJE9u6GEFKeIFmzp+tChIWAjJPdj4DK+EUMJY4Pv042BRGAVmJltfcIGFmAXGJW0/mM0Hc LCCxZM95ZghbVOLl43+sELaCxOcV/9hAWpkFNCXW79KHaLWSOLN3EiuErSgxpfsh2L28AoIS J2c+YZnAKDYLyYZZCN2zkHTPQtI9C0n3AkbWVYxixYnJxbnpqQWGpnrFiXkpmcXZesn5uZsY wZGnaLKDsWOj+yFGAQ5GJR7eE2mZEUKsiWXFlbmHGCU4mJVEeFvUsyKEeFMSK6tSi/Lji0pz UosPMUpzsCiJ896/uTtUSCA9sSQ1OzW1ILUIJsvEwSnVwDjJypFfVuxIZ7xRxOaDa4+bsR98 4aW1Osd6kXxDyPs4Ky3l2btO/z4w2XPJ2pnnz3L5bEyZVXhtj9e1qI/tD0tibNmmffn0SSE5 ffHxTzE72qobmLm1HuULpO08N9+9upeN/dCiluAN03r9pyvFlEg/TWm/eELp7uxc2+it1+12 8vx/8XjC9HtKLMUZiYZazEXFiQA1LeeGuAIAAA== X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-HT: Tenant X-Forefront-Antispam-Report: CIP:74.221.232.55; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(6009001)(7916002)(39850400002)(39840400002)(39410400002)(39860400002)(39450400003)(2980300002)(438002)(199003)(189002)(47776003)(97736004)(8936002)(2501003)(36756003)(106466001)(38730400001)(3846002)(2906002)(33646002)(81156014)(8676002)(81166006)(6116002)(102836003)(69596002)(1730700003)(4326007)(189998001)(68736007)(2351001)(6916009)(2950100002)(54356999)(76176999)(50466002)(5660300001)(2900100001)(356003)(106116001)(110136003)(626004)(50986999)(5640700003)(23676002)(8666007)(92566002)(103116003)(86362001)(305945005)(54906002)(7736002)(2270400002)(7099028); DIR:OUT; SFP:1101; SCL:1; SRVR:BL2PR02MB355; H:sacsmgep15.sandisk.com; FPR:; SPF:Pass; PTR:InfoDomainNonexistent; A:1; MX:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BN1BFFO11FD047; 1:9YfVJ0SuYhnos9CbvJYWRkb4riAssVhAz37lKwPV7Mys8Asp2phhhcDWVObz0x3gnBTTlU9gN9cL4UgurTRheV/wHmF5MDJ8on9dI6noIyjw/v+9dOYTdS2BACxfAr6EBeaATkmx939qecdzkM/i54T4BMrYsLw+njCtvvR77SvqwwSVEl542deIOZvphbMRdOsZESVvim1fnv3cYUawatxSnezL5Tjz1kbYpJyZsI2D0Ib5bNZkjmnb9K6V4hqM47mPegKTixkqNNgp1y9zzVY5uLmUCrNValgGip3WCBa4oRLnOrY0d2kBi5HLW3TnPHjDPKWfY/DKVbPQDtNnFqxluyfvc6gCeCQAdyNUnfFW3vQ2MtaFRmSvKIADIDMswiSNAmqDuBmmm9p1mEZ2DuIVwljmXvwW1xR9LJZ3kELg6pw2jLLuLrYH7s5m+RWV2tyMiaL8/8QQdlSgkd3bzCYkPTzLnzQYRRO+Jda9KRBSRfdLw7VbVVy1z0nQ3/1BPWfuYbbfV8JD95QtDJC0GicSjm/5xntXENFismsEwdS43IdBIyLzVHoBzzYiXSUErorlK98pyoUf/dO1yW8BVPuqcmi6ikyoRNSoiW2xRZA= X-MS-Office365-Filtering-Correlation-Id: cd402f8e-13e4-4a4d-a59b-08d432fc39a4 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(8251501002); SRVR:BL2PR02MB355; X-Microsoft-Exchange-Diagnostics: 1; BL2PR02MB355; 3:tVnuTKy1Avh/j1PUA7KtVOPvx4qHpfNQfBjUmoT6/ot/G/mlOIy8NmGrtWOBrkxUWUrhEYse/2Dru7DUbcCX+KSR/fyMObdjmNiYTI/roNfaPx1xaC0fYRcnJZw207mYy3e0tPNwmBLHZ7b/sso5pFPCSxhcyOtvxSAbba0Px0Wjq2IJ4Yf1Z5rq5CzgJR57PRfSpDHu/gsbTce8YUnoS/gzB72Ka+JNzCp51PBaeIO11sqAbl7H7LFakU6N2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; 31:gOf9vnEbzxu0Su+3OFvSvcxJCtSOajO0J7oJhw2ug1iH8/9f6IBXD9jdQohweOYTpPBiGxwkOhmzVJ/DlgVE7qlNZNrV02Wcp7yQaKqQ6HKvHKd3Df3nvqj+gqaLJPqWoiDCKSCAmsZxWWwDSvU+R8bIKMtD6cFn3oqq67AT4JI9o4rwhWHV39Rlh/pS6DRki+KMaQVQA+fcfF9bPKnwmhBF7X7d+gb1hM78qUDHFFhuyU8y6yb21CDlqMOSwvV9vGbL0NG6+2oWxC5nXXir5g==; 20:hpi0HQtuF8Llm7iQcFSZmJI5QaU80hCuP0Fr6ua1Jr/DurCv1OO0sLMeCIEBmBRGw6ogxuDRaZn0zfB+vhC32MzNWT+hWRBvqZjyA9/9G/OXqegGU9qedNGE40Lh1YS82d4sZhA89fkOrQhiR7Xkn8zzdvxqU+KhDTh1+gmz4fVKQVLgwSsobCVFX5hnQa5xVL/I6etGP2tqV4yF5alQu56QXk0NocGkxdMaL5Z1maY5epiVvyE3ILQixXD3SS9hxByWAwGGcqVpIaTOPoEeWYMdah407gIhj7xmBZfzAq2cgxD8MqoKUgcnFyYbL/Mk+I2HfIQDEs2zyIanuy4ebMnAYNyuAY8aF9bt5pAG3DYl4XYo2+Yw7MI9FUXaEPQu6wqTuFtDR9J+CU32bkBt//EFgWspohsE+1fi6VBwm4OyYqMXjVkJEX2eQAILCSP+TlLo34RfUn7m2u+PMNN+Ooh6sWjieXt2w1sGA+/fENinW51Z/Gs+guUrqKKBpC00 X-Microsoft-Antispam-PRVS: <BL2PR02MB35559E0E826B32FFEAFAE76816F0@BL2PR02MB355.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)(13023025)(13017025)(13015025)(13024025)(13018025)(5005006)(8121501046)(3002001)(10201501046)(6055026)(6041248)(20161123562025)(20161123555025)(20161123564025)(20161123560025)(6072148); SRVR:BL2PR02MB355; BCL:0; PCL:0; RULEID:; SRVR:BL2PR02MB355; X-Microsoft-Exchange-Diagnostics: 1; BL2PR02MB355; 4:gZwD39Asq8uOAKF3av3IXgugp/d+Xk4VtomVG18jbnBhIWhTDiNLHMPhTa1SQGn7YcrkNj1UgOiwAIExiDS0Dh4hubyh9ZWwk/bvH+FKYDIUrDO7BDaspmivbYrFEjDjlWxTjtNtkG/gA+Cc7DJObvz3magxZ20eEgVPMmusR8zjJ2RR3gq/DcYlhllPU6L01l1fMrNyaGQJNoqB7l60kFnvVzjaOCtP9/AI2Zn2oHm3a1ZibRYMP+r3PkCUvL7o/9EJRGSpi2GaMBeuRBMs+jXbGvn27zvnpc4NEp/f2go7En27lLvemR3hDb1fU8GdjycF5p3HL4T+nqAUGi8C4om0QSTY3topdxPcYXpQqFefPV8ug4O7/Gph9V9dY210lWYbJKYOC9KSznEiirT8Fcg57kErPNCLc/35ptBBCrYNp64vv/H8bgtjg8MvHVhUDlIWAZnTMn1teEZKutgxATr0FenkMm6Qtkq2vMjCdL0ZDer/JF2mvMgIdldjsLFPydKJzLlb+VKjhGUXfKpWl3tuzLgTYsl/grRu4IfJWVDu2VQ6GI6uEu0/nbHnR/9X/rFy2O9uFd7Sy3DnOYLiH2VG9dL5h1B5FIPKsW7DSb9kFIrIZjaeE+BAvBDvxdBzGOmC8/hswSHzYaBP6f6NrlGZCtM61E5a4aWEKNCKPhu8i50oIVrQCae9f2CWVdEhINyfEs/+GDC9bRj/WbFthHuHkWcqQL1oIQxrGRLIvMil5c1qItVKD2ccPB38UUq0sSO1rQbTqVmd2r+FjxMo+w== X-Forefront-PRVS: 017589626D X-Microsoft-Exchange-Diagnostics: =?utf-8?B?MTtCTDJQUjAyTUIzNTU7MjM6ODl0dHM0YlBMQjZaaklzMW96T2dsTERhU2ZS?= =?utf-8?B?SEZGM3NBOGQ5b1IveEk0cWdud1VYZm9RNGRZUkpmMjEzWStBR2paSHoxZDd2?= =?utf-8?B?Ty84Yy9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wG9Av1ry/R/ozoftnVNebFAo3zPiO+Gt+jTs2Snj1UTIzk7AGNeAPvyzsGlv9Uj8aFX+WMD5CCCLgrL3m4BLZIX4HFGk0Ti7feDkDjO9ZQ4SGME3qPznn4u7DCEGhxXLngLgdw== X-OriginatorOrg: sandisk.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 02 Jan 2017 10:43:44.1641 (UTC) X-MS-Exchange-CrossTenant-Id: fcd9ea9c-ae8c-460c-ab3c-3db42d7ac64d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=fcd9ea9c-ae8c-460c-ab3c-3db42d7ac64d; Ip=[74.221.232.55]; Helo=[sacsmgep15.sandisk.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BL2PR02MB355 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 |
On 1/2/17, 5:43 AM, "Bart Van Assche" <Bart.VanAssche@sandisk.com> wrote: >Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com> >Cc: Moni Shoua <monis@mellanox.com> >Cc: Andrew Boyer <andrew.boyer@dell.com> >--- > drivers/infiniband/sw/ >rxe/rxe_req.c | 1 + > drivers/infiniband/sw/rxe/rxe_resp.c | 1 + > 2 files changed, 2 insertions(+) Reviewed-by: Andrew Boyer <andrew.boyer@dell.com> -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
diff --git a/drivers/infiniband/sw/rxe/rxe_req.c b/drivers/infiniband/sw/rxe/rxe_req.c index 64999f529981..1bba4a734e73 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;
Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com> Cc: Moni Shoua <monis@mellanox.com> Cc: Andrew Boyer <andrew.boyer@dell.com> --- drivers/infiniband/sw/ rxe/rxe_req.c | 1 + drivers/infiniband/sw/rxe/rxe_resp.c | 1 + 2 files changed, 2 insertions(+) -- 2.11.0