John Daley 4c2c7bf41f net/enic: fix negative array index write
Negative array index write using variable pos as an index to array
enic->fdir.nodes. Fixed by add array index check.

Coverity issue: 13270

Fixes: fefed3d1e62c ("enic: new driver")

Signed-off-by: John Daley <johndale@cisco.com>
2016-06-24 18:28:09 +02:00
..
2016-06-24 18:28:09 +02:00
2015-09-30 01:19:19 +02:00
2016-06-24 18:28:09 +02:00
2016-06-24 18:28:09 +02:00
2016-06-24 18:28:09 +02:00
2016-06-15 17:13:56 +02:00
2016-06-24 18:28:09 +02:00
2016-06-24 18:28:09 +02:00
2015-05-22 16:05:52 +02:00