mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-16 22:39:48 +00:00
IB/mlx4: Check if GRH is available before using it
commitbf08e884bfupstream. Before reading GRH attributes, need to make sure AH contains GRH, and in addition, initialize GID type. Fixes:dbf727de74('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> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
661600ff77
commit
656a7d6575
1 changed files with 2 additions and 2 deletions
Loading…
Add table
Add a link
Reference in a new issue