diff options
author | Jack Morgenstein <jackm@dev.mellanox.co.il> | 2012-05-30 11:14:54 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-06-01 00:18:16 +0200 |
commit | 6230bb234dd17b4c92518e848368ce03f9802323 (patch) | |
tree | 4cad586a9fbed1568a687fe5aa67124f11b3cf98 /Documentation/blackfin | |
parent | net/mlx4_core: Fixes for VF / Guest startup flow (diff) | |
download | linux-6230bb234dd17b4c92518e848368ce03f9802323.tar.xz linux-6230bb234dd17b4c92518e848368ce03f9802323.zip |
net/mlx4_core: Check port out-of-range before using in mlx4_slave_cap
The range check was performed after using the port number.
Reverse this to prevent a potential array overflow.
Signed-off-by: Jack Morgenstein <jackm@dev.mellanox.co.il>
Reviewed-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'Documentation/blackfin')
0 files changed, 0 insertions, 0 deletions