diff options
author | Majd Dibbiny <majd@mellanox.com> | 2017-10-30 14:23:13 +0200 |
---|---|---|
committer | Ben Hutchings <ben@decadent.org.uk> | 2018-02-13 18:42:21 +0000 |
commit | 97141d69b6111cead4710fdfb32b9f8559ad37b2 (patch) | |
tree | 9d555537db7de2decf6b4054fa4f38ade28a86a7 /drivers/clk | |
parent | 0dea4044c7794a770fccd3644dc3a1de2d4cd239 (diff) | |
download | linux-stable-97141d69b6111cead4710fdfb32b9f8559ad37b2.tar.gz linux-stable-97141d69b6111cead4710fdfb32b9f8559ad37b2.tar.bz2 linux-stable-97141d69b6111cead4710fdfb32b9f8559ad37b2.zip |
IB/mlx5: Assign send CQ and recv CQ of UMR QP
commit 31fde034a8bd964a5c7c1a5663fc87a913158db2 upstream.
The UMR's QP is created by calling mlx5_ib_create_qp directly, and
therefore the send CQ and the recv CQ on the ibqp weren't assigned.
Assign them right after calling the mlx5_ib_create_qp to assure
that any access to those pointers will work as expected and won't
crash the system as might happen as part of reset flow.
Fixes: e126ba97dba9 ("mlx5: Add driver for Mellanox Connect-IB adapters")
Signed-off-by: Majd Dibbiny <majd@mellanox.com>
Reviewed-by: Yishai Hadas <yishaih@mellanox.com>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Diffstat (limited to 'drivers/clk')
0 files changed, 0 insertions, 0 deletions