From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id C4BE4A0597; Thu, 9 Apr 2020 03:12:45 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 4AC461BF99; Thu, 9 Apr 2020 03:12:44 +0200 (CEST) Received: from huawei.com (szxga02-in.huawei.com [45.249.212.188]) by dpdk.org (Postfix) with ESMTP id C2C301BF02; Thu, 9 Apr 2020 03:12:42 +0200 (CEST) Received: from DGGEMM406-HUB.china.huawei.com (unknown [172.30.72.53]) by Forcepoint Email with ESMTP id D33F8D688C4ED321EABF; Thu, 9 Apr 2020 09:12:39 +0800 (CST) Received: from DGGEMM533-MBX.china.huawei.com ([169.254.5.250]) by DGGEMM406-HUB.china.huawei.com ([10.3.20.214]) with mapi id 14.03.0487.000; Thu, 9 Apr 2020 09:12:33 +0800 From: wangyunjian To: Ferruh Yigit , "dev@dpdk.org" CC: "g.singh@nxp.com" , "akhil.goyal@nxp.com" , "Lilijun (Jerry)" , xudingke , "stable@dpdk.org" , Hemant Agrawal Thread-Topic: [dpdk-dev] [PATCH v1] net/pfe: fix to set mac_addrs to NULL after freeing Thread-Index: AQHWDNEu+NR4GueC5EqZnslH1J9CGqhuw+2AgAE5eoA= Date: Thu, 9 Apr 2020 01:12:33 +0000 Message-ID: <34EFBCA9F01B0748BEB6B629CE643AE60CF5FB3F@DGGEMM533-MBX.china.huawei.com> References: <1586259551-19324-1-git-send-email-wangyunjian@huawei.com> <8e8d6a3b-c0b7-dfa2-35f9-ae09c8bbdeb3@intel.com> In-Reply-To: <8e8d6a3b-c0b7-dfa2-35f9-ae09c8bbdeb3@intel.com> Accept-Language: en-US Content-Language: zh-CN X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.173.251.152] Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-CFilter-Loop: Reflected Subject: Re: [dpdk-dev] [PATCH v1] net/pfe: fix to set mac_addrs to NULL after freeing 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: , Errors-To: dev-bounces@dpdk.org Sender: "dev" DQoNCj4gLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCj4gRnJvbTogRmVycnVoIFlpZ2l0IFtt YWlsdG86ZmVycnVoLnlpZ2l0QGludGVsLmNvbV0NCj4gU2VudDogV2VkbmVzZGF5LCBBcHJpbCA4 LCAyMDIwIDEwOjI4IFBNDQo+IFRvOiB3YW5neXVuamlhbiA8d2FuZ3l1bmppYW5AaHVhd2VpLmNv bT47IGRldkBkcGRrLm9yZw0KPiBDYzogZy5zaW5naEBueHAuY29tOyBha2hpbC5nb3lhbEBueHAu Y29tOyBMaWxpanVuIChKZXJyeSkNCj4gPGplcnJ5LmxpbGlqdW5AaHVhd2VpLmNvbT47IHh1ZGlu Z2tlIDx4dWRpbmdrZUBodWF3ZWkuY29tPjsNCj4gc3RhYmxlQGRwZGsub3JnOyBIZW1hbnQgQWdy YXdhbCA8aGVtYW50LmFncmF3YWxAbnhwLmNvbT4NCj4gU3ViamVjdDogUmU6IFtkcGRrLWRldl0g W1BBVENIIHYxXSBuZXQvcGZlOiBmaXggdG8gc2V0IG1hY19hZGRycyB0byBOVUxMIGFmdGVyDQo+ IGZyZWVpbmcNCj4gDQo+IE9uIDQvNy8yMDIwIDEyOjM5IFBNLCB3YW5neXVuamlhbiB3cm90ZToN Cj4gPiBGcm9tOiBZdW5qaWFuIFdhbmcgPHdhbmd5dW5qaWFuQGh1YXdlaS5jb20+DQo+ID4NCj4g PiBJdCBkb2VzIG5vdCBjb3JyZWN0bHkgc2V0IHRoZSBtYWNfYWRkcnMgdmFyaWFibGUgdG8gTlVM TCBhZnRlciBmcmVlaW5nDQo+ID4gaXQsIHdoaWNoIHdpbG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