diff options
author | Majd Dibbiny <majd@mellanox.com> | 2017-10-30 14:23:13 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-12-16 10:32:31 +0100 |
commit | 4adf3c3c63237599011675f352f6d89c363e375e (patch) | |
tree | cf452c0972b710b58b4e13637ca85dcbdc22d4aa /fs/afs/cmservice.c | |
parent | 2db29fb2d2492068e26b97ce17cf059965bbdb56 (diff) | |
download | linux-rt-4adf3c3c63237599011675f352f6d89c363e375e.tar.gz |
IB/mlx5: Assign send CQ and recv CQ of UMR QP
[ Upstream commit 31fde034a8bd964a5c7c1a5663fc87a913158db2 ]
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: Sasha Levin <alexander.levin@verizon.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'fs/afs/cmservice.c')
0 files changed, 0 insertions, 0 deletions