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 DBD66A00C3; Thu, 14 May 2020 03:16:46 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 58F4D1D665; Thu, 14 May 2020 03:16:46 +0200 (CEST) Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by dpdk.org (Postfix) with ESMTP id 152A71D661 for ; Thu, 14 May 2020 03:16:43 +0200 (CEST) IronPort-SDR: ljdq2GAYCzaUFdaf17fn9/6H9iNbv6xDNAcVqfIW3A0OSIbGN+iq1PZh952zVTjKMLjWLemXo8 AwCE1N6yxPTQ== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga006.jf.intel.com ([10.7.209.51]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 13 May 2020 18:16:43 -0700 IronPort-SDR: mLWLV5Sv/nqhYarHmFgvrELJSob/P7WFnd8UfGp+54+druGLtTprJqAPjy1xUwUp6z1+aQ7vqz Y5b8GC7k18zQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.73,389,1583222400"; d="scan'208";a="266070642" Received: from fmsmsx103.amr.corp.intel.com ([10.18.124.201]) by orsmga006.jf.intel.com with ESMTP; 13 May 2020 18:16:42 -0700 Received: from shsmsx605.ccr.corp.intel.com (10.109.6.215) by FMSMSX103.amr.corp.intel.com (10.18.124.201) with Microsoft SMTP Server (TLS) id 14.3.439.0; Wed, 13 May 2020 18:16:41 -0700 Received: from shsmsx601.ccr.corp.intel.com (10.109.6.141) by SHSMSX605.ccr.corp.intel.com (10.109.6.215) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Thu, 14 May 2020 09:16:39 +0800 Received: from shsmsx601.ccr.corp.intel.com ([10.109.6.141]) by SHSMSX601.ccr.corp.intel.com ([10.109.6.141]) with mapi id 15.01.1713.004; Thu, 14 May 2020 09:16:39 +0800 From: "Di, ChenxuX" To: "Guo, Jia" , "dev@dpdk.org" CC: "Xing, Beilei" Thread-Topic: [PATCH v3] net/i40e: fix out of bounds read issue Thread-Index: AQHWKM8/J0muFPUiJUO5nuvhe0BlPKilDgSAgAG6exA= Date: Thu, 14 May 2020 01:16:39 +0000 Message-ID: References: <20200507030928.42082-1-chenxux.di@intel.com> <20200513022645.37302-1-chenxux.di@intel.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.36] Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH v3] net/i40e: fix out of bounds read issue 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" SGksDQoNCg0KDQo+IC0tLS0tT3JpZ2luYWwgTWVzc2FnZS0tLS0tDQo+IEZyb206IEd1bywgSmlh DQo+IFNlbnQ6IFdlZG5lc2RheSwgTWF5IDEzLCAyMDIwIDI6NTEgUE0NCj4gVG86IERpLCBDaGVu eHVYIDxjaGVueHV4LmRpQGludGVsLmNvbT47IGRldkBkcGRrLm9yZw0KPiBDYzogWGluZywgQmVp bGVpIDxiZWlsZWkueGluZ0BpbnRlbC5jb20+DQo+IFN1YmplY3Q6IFJlOiBbUEFUQ0ggdjNdIG5l dC9pNDBlOiBmaXggb3V0IG9mIGJvdW5kcyByZWFkIGlzc3VlDQo+IA0KPiBoaSwgY2hlbnh1DQo+ IA0KPiBPbiA1LzEzLzIwMjAgMTA6MjYgQU0sIENoZW54dSBEaSB3cm90ZToNCj4gPiBUaGlzIHBh dGNoIGZpeGVzIChvdXQtb2YtYm91b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