diff options
| author | Tariq Toukan <[email protected]> | 2016-05-15 07:21:26 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2016-05-16 17:58:01 +0000 |
| commit | 2bb07e155bb3e0c722c806723f737cf8020961ef (patch) | |
| tree | 0145447ab44391daeca1d5286499e7e6638c931f /net/switchdev/switchdev.c | |
| parent | Merge branch 'for-upstream' of git://git.kernel.org/pub/scm/linux/kernel/git/... (diff) | |
| download | kernel-2bb07e155bb3e0c722c806723f737cf8020961ef.tar.gz kernel-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 <[email protected]>
Reported-by: Dan Carpenter <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions
