From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 1A879A0A05; Tue, 19 Jan 2021 13:27:44 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 9E742140E35; Tue, 19 Jan 2021 13:27:43 +0100 (CET) Received: from smartserver.smartsharesystems.com (smartserver.smartsharesystems.com [77.243.40.215]) by mails.dpdk.org (Postfix) with ESMTP id AE150140E1E; Tue, 19 Jan 2021 13:27:42 +0100 (CET) Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: base64 Date: Tue, 19 Jan 2021 13:27:41 +0100 Message-ID: <98CBD80474FA8B44BF855DF32C47DC35C61587@smartserver.smartshare.dk> In-Reply-To: <85424972-00f8-f810-2e2c-c8fbb8923752@intel.com> X-MimeOLE: Produced By Microsoft Exchange V6.5 X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [dpdk-dev] [dpdk-stable] [PATCH v4] mbuf: fix reset on mbuf free Thread-Index: AdbuWsTEEXJZaxmrTRGSHWpl3whBcgAAHlTQ References: <20201104170007.8026-1-olivier.matz@6wind.com> <20210113132734.1636-1-olivier.matz@6wind.com> <20210119083226.GA2855@platinum> <98CBD80474FA8B44BF855DF32C47DC35C61584@smartserver.smartshare.dk> <85424972-00f8-f810-2e2c-c8fbb8923752@intel.com> From: =?UTF-8?B?TW9ydGVuIEJyw7hydXA=?= To: "Ferruh Yigit" , "Olivier Matz" , "Ali Alnubani" Cc: "David Marchand" , , "dev" , "Andrew Rybchenko" , "Ananyev, Konstantin" , , "dpdk stable" , "Ajit Khaparde" , "Slava Ovsiienko" , "Alexander Kozyrev" , "Bruce Richardson" Subject: Re: [dpdk-dev] [dpdk-stable] [PATCH v4] mbuf: fix reset on mbuf free X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 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" PiBGcm9tOiBkZXYgW21haWx0bzpkZXYtYm91bmNlc0BkcGRrLm9yZ10gT24gQmVoYWxmIE9mIEZl cnJ1aCBZaWdpdA0KPiBTZW50OiBUdWVzZGF5LCBKYW51YXJ5IDE5LCAyMDIxIDE6MDEgUE0NCj4g DQo+IE9uIDEvMTkvMjAyMSA4OjUzIEFNLCBNb3J0ZW4gQnLDuHJ1cCB3cm90ZToNCj4gPiBDb3Vs ZCBzb21lb25lIGF0IEludGVsIHBsZWFzZSB1cGRhdGUgdGhlIHRlc3Qgc2NyaXB0IHRvIHByb3Zp ZGUNCj4gb3V0cHV0IGFjY29yZGluZyB0byB0aGUgdGVzdCBwbGFuPyBPciBkZWxlZ2F0ZSB0byB0 aGUgcmlnaHQgcGVyc29uLg0KPiA+DQo+ID4gQWNjb3JkaW5nIHRvIHRoZSB0ZXN0IHBsYW4sIHRo ZSBpbmZvcm1hdGlvbiByZXF1ZXN0ZWQgYnkgT2xpdmllcg0KPiBzaG91bGQgYmUgaW4gdGhlIHRl c3Qgb3V0cHV0IGFscmVhZHk6DQo+ID4NCj4gaHR0cDovL2dpdC5kcGRrLm9yZy90b29scy9kdHMv dHJlZS90ZXN0X3BsYW5zL25pY19zaW5nbGVfY29yZV9wZXJmX3Rlc3QNCj4gX3BsYW4ucnN0P2g9 bmV4dA0KPiA+DQo+ID4gUFM6IEkgY2FuJ3QgZmluZCBvdXQgd2hvIGlzIHRoZSBtYWludGFpbmVy IG9mIHRoZSB0ZXN0IHBsYW4sIHNvIEknbQ0KPiByYW5kb21seSBwb2ludGluZyBteSBmaW5nZXIg YXQgdGhlIHRlc3QgcGxhbiBkb2MgY29weXJpZ2h0IGhvbGRlci4gOi0pDQo+ID4NCj4gDQo+IEhp IE1vcnRlbiwNCj4gDQo+IEFsaSBoYXMgYSByZXF1ZXN0IH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