Message ID | 1520239811-10934-3-git-send-email-Michal.Kalderon@cavium.com (mailing list archive) |
---|---|
State | Accepted |
Delegated to: | Jason Gunthorpe |
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 CC8CF6037E for <patchwork-linux-rdma@patchwork.kernel.org>; Mon, 5 Mar 2018 08:51:06 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B6215289A1 for <patchwork-linux-rdma@patchwork.kernel.org>; Mon, 5 Mar 2018 08:51:06 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id AAAAA289A6; Mon, 5 Mar 2018 08:51:06 +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 13EBC289A1 for <patchwork-linux-rdma@patchwork.kernel.org>; Mon, 5 Mar 2018 08:51:06 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933072AbeCEIvF (ORCPT <rfc822;patchwork-linux-rdma@patchwork.kernel.org>); Mon, 5 Mar 2018 03:51:05 -0500 Received: from mail-by2nam01on0074.outbound.protection.outlook.com ([104.47.34.74]:7211 "EHLO NAM01-BY2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S932868AbeCEIvE (ORCPT <rfc822;linux-rdma@vger.kernel.org>); Mon, 5 Mar 2018 03:51:04 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=CAVIUMNETWORKS.onmicrosoft.com; s=selector1-cavium-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=u1fmGRUAd9k7J6OkgXcCXvuRLq6fkeh/kbw3uGp4f9k=; b=BSNCnLOKqlPMvpOyE+1+AQ4KFIoHhwnBGQPl4e0cvlh9ZyBQLknDHtwjtL3oT8jcoDt2l+ZOMVwclKKG01BiIuyFlgp05NVALMIgnuyAdx30biZq8rjXXTcnzCi45achospTO3Uz110s8LgQRzmDumZB4aNs/XXtmZOlJxYsPNY= Received: from DM5PR07CA0062.namprd07.prod.outlook.com (2603:10b6:4:ad::27) by BYAPR07MB4215.namprd07.prod.outlook.com (2603:10b6:a02:be::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.548.13; Mon, 5 Mar 2018 08:51:03 +0000 Received: from BN1BFFO11FD001.protection.gbl (2a01:111:f400:7c10::1:197) by DM5PR07CA0062.outlook.office365.com (2603:10b6:4:ad::27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.548.13 via Frontend Transport; Mon, 5 Mar 2018 08:51:02 +0000 Authentication-Results: spf=fail (sender IP is 50.232.66.26) smtp.mailfrom=cavium.com; vger.kernel.org; dkim=none (message not signed) header.d=none; vger.kernel.org; dmarc=none action=none header.from=cavium.com; Received-SPF: Fail (protection.outlook.com: domain of cavium.com does not designate 50.232.66.26 as permitted sender) receiver=protection.outlook.com; client-ip=50.232.66.26; helo=CAEXCH02.caveonetworks.com; Received: from CAEXCH02.caveonetworks.com (50.232.66.26) by BN1BFFO11FD001.mail.protection.outlook.com (10.58.144.64) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA_P384) id 15.20.527.18 via Frontend Transport; Mon, 5 Mar 2018 08:51:01 +0000 Received: from lb-tlvb-michal.il.qlogic.com.com (10.185.6.89) by CAEXCH02.caveonetworks.com (10.17.4.29) with Microsoft SMTP Server id 14.2.347.0; Mon, 5 Mar 2018 00:50:58 -0800 From: Michal Kalderon <Michal.Kalderon@cavium.com> To: <michal.kalderon@cavium.com>, <dledford@redhat.com>, <jgg@mellanox.com> CC: <linux-rdma@vger.kernel.org>, Michal Kalderon <Michal.Kalderon@cavium.com>, Ariel Elior <Ariel.Elior@cavium.com> Subject: [PATCH for-rc 2/5] RDMA/qedr: Fix ipv6 destination address resolution Date: Mon, 5 Mar 2018 10:50:08 +0200 Message-ID: <1520239811-10934-3-git-send-email-Michal.Kalderon@cavium.com> X-Mailer: git-send-email 1.9.3 In-Reply-To: <1520239811-10934-1-git-send-email-Michal.Kalderon@cavium.com> References: <1520239811-10934-1-git-send-email-Michal.Kalderon@cavium.com> MIME-Version: 1.0 Content-Type: text/plain X-EOPAttributedMessage: 0 X-Forefront-Antispam-Report: CIP:50.232.66.26; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(39850400004)(376002)(39380400002)(346002)(396003)(2980300002)(1110001)(1109001)(339900001)(199004)(189003)(106466001)(305945005)(107886003)(2950100002)(6666003)(59450400001)(356003)(4326008)(47776003)(86362001)(336012)(85426001)(2201001)(69596002)(5660300001)(50466002)(48376002)(2906002)(36756003)(105606002)(51416003)(76176011)(8936002)(77096007)(186003)(316002)(16586007)(104016004)(72206003)(478600001)(54906003)(110136005)(8676002)(81166006)(81156014)(50226002)(26005); DIR:OUT; SFP:1101; SCL:1; SRVR:BYAPR07MB4215; H:CAEXCH02.caveonetworks.com; FPR:; SPF:Fail; PTR:50-232-66-26-static.hfc.comcastbusiness.net; A:1; MX:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BN1BFFO11FD001; 1:6yjL0bqZCtOPLR/PqKCl2zCd0IdoIwxfqL8qZmdQPWDK+FylCCBY5dL9dmL474HwDQKz/WCddYu3nWvx83Fkn/IE/LP94dKg2xgZjr1hYC36tnUYTQfHyfhb/sqbRF5Q X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: e901ff6a-b0e4-432f-a532-08d582763947 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(4534165)(4627221)(201703031133081)(201702281549075)(5600026)(4604075)(2017052603307)(7153060); SRVR:BYAPR07MB4215; X-Microsoft-Exchange-Diagnostics: 1; BYAPR07MB4215; 3:qav1vTETcba887t58zEFZCegQEg/pjw5oWuqtDkGDOFd80Rv6WEkPQL4bs8xOOsnaG2uCV/OhnLCq8FVgiW98Z/eyQG8hvebCx775UqHMcoDL3JgZ4edhdq/ZkO14o5bm2xJnXxtlaTN6neUVJP5D7jvY4m+LleyJTIFClZyTcg+cVSkKRuuIOX4LEgj0ONGIgYcrMFvW9qxTvpCnLa6+eDaAaEhv2MQRjUeYuiojLjNiCBCVcHWnh9Zyc9bDjJ9NX/VNEUdRNZc1auxYGcmX6sg/MuAnI1Ga8cJmRvUuc547v8W7owoIlC1UJSNgG8dAFYXgAV41t0+Y1Ni3wTRth+9lkDmSor03sOvTi6yxHQ=; 25:X05GDbvRhpuRa3nn3xoWpaT/V+Bj51gATocsCPoAe93I9UCeQ/EDO6rnWPHvvTdKNhM4wDGvpBqtsdEh5+GV5Q7AlFaiUu0UfTvHYN6ToL3BANykR5LvNKyPykZMZQoeZEb0ykG5hEVAeFt+VNQ5grj/JGwPfEuJKnyGEAPgc15IUiYXrIsCixzsM+vIhmzj+qqGgAXsErglW2xXaGYsq7zMaJDb1d8Gfa4s0t1ru75fjVwVKwLLPhvjm5SWviJED0dW1Or0yqRePSuTid5CueNZrtzDOcOytAMDdfS0s3eLu70xn8kkswsSrqnfLHYHjhlPJLSEviWVqtoleWfyFA== X-MS-TrafficTypeDiagnostic: BYAPR07MB4215: X-Microsoft-Exchange-Diagnostics: 1; BYAPR07MB4215; 31:q3bG6iOxC/FGRIAE5v5LTf+aEHsUx9E5d54sbR8YUQHWFgxLD8y5f5wetTEf5ABvdmCwyX1TnLCVpfBA2C7cK4/ozAU8O4lj4vAJ3zAmBSI/DRh+JlngVpe+h5eVTGksgm+b1P8KpI+4FTArV8MGftK029N3Wge0ODTii+FZdW0MBS2AZF5yb2L7WvMeJbTzQsa4VsmdsiKq+k28qIYZdjkh6V3WuFr6eIix4nz8i/E=; 20:kqN4mGru9nl65sW6nSauLnh2ZVyWAJuCzsr1ZWUjPtaNa/L2KbwuaiKXWqFJAbbuzNDT3YYRn2AeaQoxK0pcZweYGEwRxmDoRc018ttPZ6iK4sEclxycmYyhsqu2dLX/yFVRHFv8qYgN/cQd1ztyynRVVM+tVXXwlildu2Lk7NJBE+Iabpk0Lr8VII1tX6w0wEvGPtyLW8x2ECeC4cZWZStGSIuYk8E8YByPkuY/eZHTQKdU7s1g+sE9i0XpwuRj9tbbMQv5BU2j35xRG0mJlxKrNFbPiK8fyud4ijAASzdGJOuNN36kgb52Pa51ZR9I8ScLilcsp/tPZpQIl3Yafx897DWIsC6u3jx2T+yh0wV/+etQmI6ZeKlXQsW+JMTKoduKWNqUwVRMKlbUwjXOun4qrbP9+6MLsT5kRgWRkxT1hX84o09QBTVFbne5hSFIg+9emaPu8MKM9LpEaQiiXMA3EvLrByj/ycOCKW4z5HopJFJdO1H2dV5x8m80+0H6 X-Microsoft-Antispam-PRVS: <BYAPR07MB421537EE7DB6F098EFDCBC6288DA0@BYAPR07MB4215.namprd07.prod.outlook.com> X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(8211001083)(6040501)(2401047)(8121501046)(5005006)(93006095)(93001095)(10201501046)(3231220)(944501244)(52105095)(3002001)(6041288)(20161123564045)(20161123562045)(20161123560045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123558120)(6072148)(201708071742011); SRVR:BYAPR07MB4215; BCL:0; PCL:0; RULEID:; SRVR:BYAPR07MB4215; X-Microsoft-Exchange-Diagnostics: 1; BYAPR07MB4215;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/YWthhTZ5zZ1mAhofwjigpC+u/HRO64TY3/6bZd+D10fpmkJN72kY7I7YUPa?= =?us-ascii?Q?2dFLsJ5a8uUj4/rTuRi//axvqVV+953Me3njCXX39L1rtFSkFpt5+5s4UviN?= =?us-ascii?Q?epRgs3ZFUn0zh+Xaxc/CAmOPfmyVeltIY5pfb/GH9QuQ8l+k5nTLrrX5wW1s?= =?us-ascii?Q?GBpaTsysK8lCprg/SXttcFAZb/PqleiHDZGDsJDjE14K347j1N+UtR2havHM?= =?us-ascii?Q?heUJIa2Gkvpi0RpjZLBuefrTv34DMuHBg6F8I+YAccvi34akqmq845EoM1gJ?= =?us-ascii?Q?T9PCbja5s0hfcjll9JjiXKE9jEN74Yr/NAYxeKp4fxTbmAn/d126v2B32viJ?= =?us-ascii?Q?WHjgSHtI/355Lju4/ZxvxrFvJQCECdZ3ainTd28U9zhuSJy1VKntEiH3Fh5W?= =?us-ascii?Q?OYz5zL4Pwb8sX5kd0dBigiyfGDGU8SXRdRzz3bhVs2STNgXRhklEpkhMdVaz?= =?us-ascii?Q?SL568JBDdj7/XVTxwFzH5diEn+ahuswlkFaZ7n+02Ao2LsJS4yC9NFP4AyeH?= =?us-ascii?Q?FSeiA9G9To=3D?= X-Microsoft-Antispam-Message-Info: AQd2WD7YB9f+8IVYq/xhVMj0R20TxKlAcfIOfrVhNYWR1xab+1GLhH8em+MWCw2tQyV9n8/mxqLDURvX4R+Hx2Ybdoz15x1J3tQJ1yY2mn8wlJ0HeaROGNcwD8vnsyLkj0Ki9HAu1c7QudAaNq2Qggdxcr0FiT6k7qC2zkJof6rWUrzvWFs7S9bMzBTv6Izd X-Microsoft-Exchange-Diagnostics: 1; BYAPR07MB4215; 6:iHcAsCLy/fMwgIxsR7aWxvSQsx5olMbVuvyHvfSLTstbU6H6OC8ATVGE/VdKKa6hGsUn85li7FK2wq2WPcRvbbig2XsztBrPZRTAHPVMptIYX92LpCkMbFW98pCwSlObkzwewl8ZZWCw+0I10xf+AniKwtwgeivlOsMggssfRyw3sy+9KJ5FfB9Rnw4GjQfRO/+F7gFWtQ63nwymEAcLbkWsmQo8qEZNK7uvCerhpQ1/0NE1W/FK6n4jRNM1FIcIUWQdX2mg3nXNAJ+lEESl4hGdCvZCkvO59++L6LVfkjqxnCvLwgh8aclwcg4NRqQjea0uWIlazXLCF9dz/lX262+/kaqJP5VKV6Ovlb7pYiU=; 5:JjismM2gy8URrLGwv5if2rcy3WZB/buwENAJkl1ZjdZD9JKYw4TJedjGsa1ImGtfRd0OO0Tl5rOm9dDplTLXmwUXI1Fad/qIhD3dCJgjMWsoTOUESadoPEXinGz+7nG8NLf8eLRu/pNPbofGxBFaCNaS8sIkgR+Con+3RYfVaa0=; 24:d41W+NO6lLXPsOsUopyfaYI8AJog+x2gNfKryNjcGMbwsuPyc69ZRgY4WrKdJglSFLvP3MklWszJ5LVonhWiYKDldWRwu8s0A2xXuLZQf9o=; 7:RueajkwcFh8ofQLS3W3x8irfRsgvDVUD50rtcdmSDrTREQkb4OED3z+WdFleKtRm0gMoeIRrSU7UeeIu6prGhr/yAXlqj4StxfHdDqlHjtqtEQntsZC8jsLJx4sOTCoUQ+3o14wWTS7cYILa4DsVYd8LrGlCWVSJhptEwmh3sFF/GysYnNs/AvGBQ0DyMYjPff8I+7/vLn0L5Xmpp0EPv+4MLN4g+bq3r6rK8RgMzXUaMm9WLknFtncFdzxUkpIT SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: cavium.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 05 Mar 2018 08:51:01.0153 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: e901ff6a-b0e4-432f-a532-08d582763947 X-MS-Exchange-CrossTenant-Id: 711e4ccf-2e9b-4bcf-a551-4094005b6194 X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=711e4ccf-2e9b-4bcf-a551-4094005b6194; Ip=[50.232.66.26]; Helo=[CAEXCH02.caveonetworks.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BYAPR07MB4215 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/hw/qedr/qedr_iw_cm.c b/drivers/infiniband/hw/qedr/qedr_iw_cm.c index 28183ea..1a3f87b 100644 --- a/drivers/infiniband/hw/qedr/qedr_iw_cm.c +++ b/drivers/infiniband/hw/qedr/qedr_iw_cm.c @@ -458,8 +458,7 @@ qedr_addr6_resolve(struct qedr_dev *dev, } return -EINVAL; } - neigh = dst_neigh_lookup(dst, &dst_in); - + neigh = dst_neigh_lookup(dst, &fl6.daddr); if (neigh) { rcu_read_lock(); if (neigh->nud_state & NUD_VALID) {