diff options
author | Eran Ben Elisha <eranbe@mellanox.com> | 2016-11-10 12:31:01 +0300 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2016-12-13 21:32:51 +0300 |
commit | bf08e884bfd5be068fd2ccf2bc450f085d8dd853 (patch) | |
tree | b7b2121841ad8ef990b5b30e3bb955312a7033ac /drivers/infiniband/sw/rxe/rxe_param.h | |
parent | 1f22e454df2eb99ba6b7ace3f594f6805cdf5cbc (diff) | |
download | linux-bf08e884bfd5be068fd2ccf2bc450f085d8dd853.tar.xz |
IB/mlx4: Check if GRH is available before using it
Before reading GRH attributes, need to make sure AH contains GRH,
and in addition, initialize GID type.
Fixes: dbf727de7440 ('IB/core: Use GID table in AH creation and dmac resolution')
Signed-off-by: Eran Ben Elisha <eranbe@mellanox.com>
Signed-off-by: Daniel Jurgens <danielj@mellanox.com>
Reviewed-by: Mark Bloch <markb@mellanox.com>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'drivers/infiniband/sw/rxe/rxe_param.h')
0 files changed, 0 insertions, 0 deletions