Skip to content
Commit 37995116 authored by Daniel Jurgens's avatar Daniel Jurgens Committed by Doug Ledford
Browse files

IB/mlx4: Check gid_index return value



Check the returned GID index value and return an error if it is invalid.

Fixes: 5070cd22 ('IB/mlx4: Replace mechanism for RoCE GID management')
Signed-off-by: default avatarDaniel Jurgens <danielj@mellanox.com>
Reviewed-by: default avatarMark Bloch <markb@mellanox.com>
Reviewed-by: default avatarYuval Shaia <yuval.shaia@oracle.com>
Signed-off-by: default avatarLeon Romanovsky <leon@kernel.org>
Signed-off-by: default avatarDoug Ledford <dledford@redhat.com>
parent a1ab8402
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment