diff options
| author | Daniel Jurgens <danielj@mellanox.com> | 2016-11-10 11:30:54 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-11-26 09:54:53 +0100 |
| commit | 41664d7077e9b705ba3e0fa3a0dcce3ce09b2268 (patch) | |
| tree | 76c4a2d452db5dc682d479db3302b9bab1f94796 /tools/perf/scripts/python/sched-migration.py | |
| parent | 04c0800c73b23c74e70bf1a579dd383c26f823a0 (diff) | |
IB/mlx4: Check gid_index return value
commit 37995116fecfce2b61ee3da6e73b3e394c6818f9 upstream.
Check the returned GID index value and return an error if it is invalid.
Fixes: 5070cd2239bd ('IB/mlx4: Replace mechanism for RoCE GID management')
Signed-off-by: Daniel Jurgens <danielj@mellanox.com>
Reviewed-by: Mark Bloch <markb@mellanox.com>
Reviewed-by: Yuval Shaia <yuval.shaia@oracle.com>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions
