commit | 2bb07e155bb3e0c722c806723f737cf8020961ef | [log] [tgz] |
---|---|---|
author | Tariq Toukan <tariqt@mellanox.com> | Sun May 15 10:21:26 2016 +0300 |
committer | David S. Miller <davem@davemloft.net> | Mon May 16 13:58:01 2016 -0400 |
tree | 0145447ab44391daeca1d5286499e7e6638c931f | |
parent | 2ffd7e035601268915a393ae0b7cac34c27e190e [diff] |
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>