Tariq Toukan 2bb07e155b net/mlx4_core: Fix access to uninitialized index
Prevent using uninitialized or negative index when handling
steering entries.

Fixes: b12d93d63c32 ('mlx4: Add support for promiscuous mode in the new steering model.')
Signed-off-by: Tariq Toukan <tariqt@mellanox.com>
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2016-05-16 13:58:01 -04:00
..
2016-05-05 23:23:05 -04:00
2016-05-05 23:23:05 -04:00
2016-05-05 23:23:05 -04:00
2016-03-01 16:07:29 -05:00
2015-10-15 23:31:38 -07:00