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 EDF74A2EFC for ; Tue, 15 Oct 2019 03:11:05 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id D952B1C29F; Tue, 15 Oct 2019 03:11:04 +0200 (CEST) Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by dpdk.org (Postfix) with ESMTP id 631D11C29D; Tue, 15 Oct 2019 03:11:02 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga101.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 14 Oct 2019 18:11:00 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.67,297,1566889200"; d="scan'208";a="207388426" Received: from fmsmsx106.amr.corp.intel.com ([10.18.124.204]) by orsmga002.jf.intel.com with ESMTP; 14 Oct 2019 18:11:00 -0700 Received: from fmsmsx113.amr.corp.intel.com (10.18.116.7) by FMSMSX106.amr.corp.intel.com (10.18.124.204) with Microsoft SMTP Server (TLS) id 14.3.439.0; Mon, 14 Oct 2019 18:11:00 -0700 Received: from shsmsx102.ccr.corp.intel.com (10.239.4.154) by FMSMSX113.amr.corp.intel.com (10.18.116.7) with Microsoft SMTP Server (TLS) id 14.3.439.0; Mon, 14 Oct 2019 18:10:59 -0700 Received: from shsmsx105.ccr.corp.intel.com ([169.254.11.96]) by shsmsx102.ccr.corp.intel.com ([169.254.2.176]) with mapi id 14.03.0439.000; Tue, 15 Oct 2019 09:10:58 +0800 From: "Zhang, Xiao" To: Kevin Traynor , "dev@dpdk.org" CC: "Xing, Beilei" , "Zhang, Qi Z" , "stable@dpdk.org" Thread-Topic: [dpdk-dev] net/i40e: fix integer overflow Thread-Index: AQHVgmpQ/DHUoq0lTU2UCtSGkHY8t6dZa1cAgAF3xSA= Date: Tue, 15 Oct 2019 01:10:57 +0000 Message-ID: References: <1571041986-37562-1-git-send-email-xiao.zhang@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.40] Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 Subject: Re: [dpdk-dev] net/i40e: fix integer overflow 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" SGkgS2V2aW4sDQoNCldpbGwgdXBkYXRlIHRoZSBwYXRjaCBhY2NvcmRpbmcgdG8geW91ciBjb21t ZW50cy4gVGhhbmtzLg0KDQpYaWFvDQoNCj4gLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCj4g RnJvbTogS2V2aW4gVHJheW5vciBbbWFpbHRvOmt0cmF5bm9yQHJlZGhhdC5jb21dDQo+IFNlbnQ6 IE1vbmRheSwgT2N0b2JlciAxNCwgMjAxOSA2OjM2IFBNDQo+IFRvOiBaaGFuZywgWGlhbyA8eGlh by56aGFuZ0BpbnRlbC5jb20+OyBkZXZAZHBkay5vcmcNCj4gQ2M6IFhpbmcsIEJlaWxlaSA8YmVp bGVpLnhpbmdAaW50ZWwuY29tPjsgWmhhbmcsIFFpIFogPHFpLnouemhhbmdAaW50ZWwuY29tPjsN Cj4gc3RhYmxlQGRwZGsub3JnDQo+IFN1YmplY3Q6IFJlOiBbZHBkay1kZXZdIG5ldC9pNDBlOiBm aXggaW50ZWdlciBvdmVyZmxvdw0KPiANCj4gT24gMTQvMTAvMjAxOSAwOTozMywgWGlhbyBaaGFu ZyB3cm90ZToNCj4gPiBXaGVuIGNvbmZpZ3VyaW5nIGk0MGUgcnggcXVldWUsIHRoZSB0ZW1wb3Jh cnkgdmFyaWFibGUgdG8gc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