aboutsummaryrefslogtreecommitdiffstats
path: root/net/switchdev/switchdev.c
diff options
context:
space:
mode:
authorTariq Toukan <[email protected]>2016-05-15 07:21:26 +0000
committerDavid S. Miller <[email protected]>2016-05-16 17:58:01 +0000
commit2bb07e155bb3e0c722c806723f737cf8020961ef (patch)
tree0145447ab44391daeca1d5286499e7e6638c931f /net/switchdev/switchdev.c
parentMerge branch 'for-upstream' of git://git.kernel.org/pub/scm/linux/kernel/git/... (diff)
downloadkernel-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