[dpdk-dev] [PATCH v2] enic: negative array index write

2016-06-24 Thread Bruce Richardson
On Mon, Jun 20, 2016 at 12:27:46PM -0700, John Daley wrote: > Negative array index write using variable pos as an index to array > enic->fdir.nodes. Fixed by add array index check. > > Fixes: fefed3d1e62c ("enic: new driver") Coverity ID 13270 > Signed-off-by: John Daley > --- > Applied to dpdk-

[dpdk-dev] [PATCH v2] enic: negative array index write

2016-06-20 Thread John Daley
Negative array index write using variable pos as an index to array enic->fdir.nodes. Fixed by add array index check. Fixes: fefed3d1e62c ("enic: new driver") Coverity ID 13270 Signed-off-by: John Daley --- Here is a version 2. Differences with fix proposed by Slawomir Mrozowicz: - handle the ret