From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR01-HE1-obe.outbound.protection.outlook.com (mail-he1eur01on0045.outbound.protection.outlook.com [104.47.0.45]) by dpdk.org (Postfix) with ESMTP id 5D4A31CFF4 for ; Sun, 13 May 2018 09:20:31 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Mellanox.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=THolxxpCt1Tn/ALxWbK+nay8qGLXS+QstPiDzFUF9Wg=; b=gFLUW6yCrR7DF3bhRioGdXrJyGDhvgmh7Jd/fwDIxkRIG4bQbQ0zRNau8atECqow3cpYXynAN1v5hYeTDW0jUutcKGj4sdqz1U6ykY8G0Y12MQJCF2fQUJ8OLeGTcQVRDLdzFEMAvoBOCgxA4aw4wQEuLUhZCgvtXvUee+MN+vw= Received: from VI1PR0501MB2608.eurprd05.prod.outlook.com (10.168.137.20) by VI1PR0501MB2399.eurprd05.prod.outlook.com (10.168.135.143) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.755.16; Sun, 13 May 2018 07:20:29 +0000 Received: from VI1PR0501MB2608.eurprd05.prod.outlook.com ([fe80::49ca:b540:8f36:c063]) by VI1PR0501MB2608.eurprd05.prod.outlook.com ([fe80::49ca:b540:8f36:c063%17]) with mapi id 15.20.0755.018; Sun, 13 May 2018 07:20:29 +0000 From: Matan Azrad To: Andy Green , "dev@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH v5 12/16] net/vdev_netvsc: readlink inputs cannot be aliased Thread-Index: AQHT6ZOLRyVC6qCm70mNW9O2k/DAtqQtOcQQ Date: Sun, 13 May 2018 07:20:28 +0000 Message-ID: References: <152608956198.121204.14844325841690943774.stgit@localhost.localdomain> <152608972460.121204.11116032801548715406.stgit@localhost.localdomain> In-Reply-To: <152608972460.121204.11116032801548715406.stgit@localhost.localdomain> Accept-Language: en-US, he-IL Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=matan@mellanox.com; x-originating-ip: [193.47.165.251] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; VI1PR0501MB2399; 7:4nUPbEYwWDTPXsa4d7uRS0mHfO715s4Y+6GTmvbd8YX6Uxcu36XyK1zBE/4GNyfmW406NxIXYj124AEKZJ41fwC7lUQn/a9Jje8CK9I1KoBWLmu8E+SxyFKxrPM2vSQT3ZJWT5VZyRL4Foas+3SmGwo6d0cJabfjJI/2RL1O4jlTr/eNMcyDMKGLKClJMb67fLVl6VinGxbDkvwFrr7pV4hkc7s5KTzlg8+bJHH3OYXC+LB9tcXPTL2jNeJj835e x-ms-exchange-antispam-srfa-diagnostics: SOS; x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(5600026)(48565401081)(4534165)(4627221)(201703031133081)(201702281549075)(2017052603328)(7153060)(7193020); SRVR:VI1PR0501MB2399; x-ms-traffictypediagnostic: VI1PR0501MB2399: x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(788757137089)(5213294742642)(228905959029699); x-ms-exchange-senderadcheck: 1 x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(3002001)(10201501046)(3231254)(944501410)(52105095)(93006095)(93001095)(6055026)(149027)(150027)(6041310)(20161123558120)(20161123564045)(20161123562045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123560045)(6072148)(201708071742011); SRVR:VI1PR0501MB2399; BCL:0; PCL:0; RULEID:; SRVR:VI1PR0501MB2399; x-forefront-prvs: 0671F32598 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(396003)(346002)(366004)(376002)(39380400002)(39860400002)(199004)(189003)(476003)(2906002)(2900100001)(446003)(14454004)(186003)(5660300001)(25786009)(3660700001)(26005)(11346002)(6506007)(74316002)(3846002)(6116002)(76176011)(86362001)(486006)(53936002)(6246003)(8936002)(7696005)(478600001)(81166006)(81156014)(66066001)(110136005)(5250100002)(7736002)(33656002)(68736007)(97736004)(316002)(99286004)(105586002)(106356001)(229853002)(305945005)(9686003)(102836004)(55016002)(3280700002)(2501003)(6436002); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR0501MB2399; H:VI1PR0501MB2608.eurprd05.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; received-spf: None (protection.outlook.com: mellanox.com does not designate permitted sender hosts) x-microsoft-antispam-message-info: 6DzDUgRppZu//gN81xENtp4Yhzr35VlVnO/IJVo5Nld9LuWpuWqRE+gTLrbdfzC1De6XFy/DTp21hB21aZrobfZqYoCGGRE6tRKNr6DCADn80XSRIZFsJyD3QK8pNQQdwWV6WG0ArZnkyPhDb6StERiE3EVfQJQQ1+zNy8GZA0aj3H6Zy7AxdWWGgyr4CPMF spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-MS-Office365-Filtering-Correlation-Id: 6eb7c2fe-5094-4db4-9383-08d5b8a2017a X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-Network-Message-Id: 6eb7c2fe-5094-4db4-9383-08d5b8a2017a X-MS-Exchange-CrossTenant-originalarrivaltime: 13 May 2018 07:20:28.9316 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: a652971c-7d2e-4d9b-a6a4-d149256f461b X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR0501MB2399 Subject: Re: [dpdk-dev] [PATCH v5 12/16] net/vdev_netvsc: readlink inputs cannot be aliased X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received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