Re: [dpdk-dev] [PATCH] net/thunderx: fix access an array out of bounds

2017-04-11 Thread Jerin Jacob
-Original Message- > Date: Fri, 7 Apr 2017 16:38:41 +0200 > From: marcin.w...@caviumnetworks.com > To: jerin.ja...@caviumnetworks.com, maciej.cze...@caviumnetworks.com > Cc: dev@dpdk.org, sta...@dpdk.org, Marcin Wilk > > Subject: [PATCH] net/thunderx: fix access an array out of bounds >

[dpdk-dev] [PATCH] net/thunderx: fix access an array out of bounds

2017-04-07 Thread marcin . wilk
From: Marcin Wilk Trying to assign more queues to stats struct break only from one loop when the maximum size is reached. Outside loop interation is continued. This leads to access an array out of bounds. Fixes: 21e3fb0050b9 ("net/thunderx: add final bits for secondary queue support") Signed-of