net/dpaa: fix oob access
authorHemant Agrawal <hemant.agrawal@nxp.com>
Mon, 9 Apr 2018 10:22:47 +0000 (15:52 +0530)
committerThomas Monjalon <thomas@monjalon.net>
Wed, 11 Apr 2018 22:20:36 +0000 (00:20 +0200)
commit5c3fc73e820ac0365ae1c1da5546572ac80e64cf
treee242e9f5c3d7bac3b83b594daa7d3be29dccc4d1
parente4f931cc6ef271e817ee4f6465b8048815255deb
net/dpaa: fix oob access

Coverity issue: 268318
Fixes: b21ed3e2a16d ("net/dpaa: support extended statistics")
Cc: stable@dpdk.org
Signed-off-by: Hemant Agrawal <hemant.agrawal@nxp.com>
Acked-by: Shreyansh Jain <shreyansh.jain@nxp.com>
drivers/net/dpaa/dpaa_ethdev.c