diff options
author | 2016-05-15 10:21:26 +0300 | |
---|---|---|
committer | 2016-05-16 13:58:01 -0400 | |
commit | 2bb07e155bb3e0c722c806723f737cf8020961ef (patch) | |
tree | 0145447ab44391daeca1d5286499e7e6638c931f /net/switchdev/switchdev.c | |
parent | Merge branch 'for-upstream' of git://git.kernel.org/pub/scm/linux/kernel/git/bluetooth/bluetooth-next (diff) | |
download | linux-dev-2bb07e155bb3e0c722c806723f737cf8020961ef.tar.xz linux-dev-2bb07e155bb3e0c722c806723f737cf8020961ef.zip |
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>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions