From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by dpdk.org (Postfix) with ESMTP id 527B82986; Tue, 11 Apr 2017 15:15:51 +0200 (CEST) Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga104.jf.intel.com with ESMTP; 11 Apr 2017 06:15:49 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.37,185,1488873600"; d="scan'208";a="1133954202" Received: from fyigit-mobl1.ger.corp.intel.com (HELO [10.237.220.122]) ([10.237.220.122]) by fmsmga001.fm.intel.com with ESMTP; 11 Apr 2017 06:15:48 -0700 To: marcin.wilk@caviumnetworks.com, jerin.jacob@caviumnetworks.com, maciej.czekaj@caviumnetworks.com Cc: dev@dpdk.org, stable@dpdk.org References: <1491575921-24883-1-git-send-email-marcin.wilk@caviumnetworks.com> <1491914113-6431-1-git-send-email-marcin.wilk@caviumnetworks.com> From: Ferruh Yigit Message-ID: <863582a3-8cb8-9ac4-cf87-f92370c56366@intel.com> Date: Tue, 11 Apr 2017 14:15:47 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.0 MIME-Version: 1.0 In-Reply-To: <1491914113-6431-1-git-send-email-marcin.wilk@caviumnetworks.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-stable] [PATCH v2] net/thunderx: fix access an array out of bounds X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Apr 2017 13:15:52 -0000 On 4/11/2017 1:35 PM, marcin.wilk@caviumnetworks.com wrote: > From: Marcin Wilk > > Trying to assign more queues to stats struct break only from one loop > when the maximum size is reached. Outside loop iteration is continued. > This leads to access an array out of bounds. > > Fixes: 21e3fb0050b9 ("net/thunderx: add final bits for secondary queue support") > > Signed-off-by: Marcin Wilk > Acked-by: Jerin Jacob Applied to dpdk-next-net/master, thanks.