[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"

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

2017-04-11 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 iteration is continued. This leads to access an array out of bounds. Fixes: 21e3fb0050b9 ("net/thunderx: add final bits for secondary queue support"