From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by dpdk.org (Postfix) with ESMTP id 9F88E1B1EE for ; Tue, 19 Sep 2017 16:44:39 +0200 (CEST) Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga103.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 19 Sep 2017 07:44:38 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.42,418,1500966000"; d="scan'208";a="901854786" Received: from fyigit-mobl1.ger.corp.intel.com (HELO [10.237.220.57]) ([10.237.220.57]) by FMSMGA003.fm.intel.com with ESMTP; 19 Sep 2017 07:44:37 -0700 To: SebastianX Basierski , skhare@vmware.com Cc: dev@dpdk.org References: <1505821678-33651-1-git-send-email-sebastianx.basierski@intel.com> From: Ferruh Yigit Message-ID: <178fb6b9-bd82-7f6e-5435-821035e6e0f5@intel.com> Date: Tue, 19 Sep 2017 15:44:36 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 MIME-Version: 1.0 In-Reply-To: <1505821678-33651-1-git-send-email-sebastianx.basierski@intel.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] [PATCH] pmd_vmxnet3: Unintentional 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: , X-List-Received-Date: Tue, 19 Sep 2017 14:44:40 -0000 On 9/19/2017 12:47 PM, SebastianX Basierski wrote: > Fixed overflow by casting txq->cmd_ring.next2fill to uint64_t type. > > Coverity issue: 143457 > > Fixes: 01fef6e3c181 ("net/vmxnet3: allow variable length Tx data ring") > Cc: skhare@vmware.com > cc: dev@dpdk.org > > Signed-off-by: SebastianX Basierski Reviewed-by: Ferruh Yigit