net/sfc/base: fix out of bounds read in VIs allocation
authorAndy Moreton <amoreton@solarflare.com>
Tue, 4 Apr 2017 12:13:27 +0000 (13:13 +0100)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 4 Apr 2017 17:03:04 +0000 (19:03 +0200)
commit6e2ea132abcb9165f3aaaee93a1d0e0a7caf08f8
tree34704739d5a4c13b5f5ccb06b5b6d0972a44bd45
parentfa7c395deec94489db91d9942e8a4c57a76effdd
net/sfc/base: fix out of bounds read in VIs allocation

Coverity issue: 1349662
Fixes: e7cd430c864f ("net/sfc/base: import SFN7xxx family support")
Cc: stable@dpdk.org
Signed-off-by: Andy Moreton <amoreton@solarflare.com>
Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com>
drivers/net/sfc/base/ef10_nic.c