linux/drivers/infiniband
Majd Dibbiny 9048b2420e IB/mlx5: Assign send CQ and recv CQ of UMR QP
[ Upstream commit 31fde034a8 ]

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: e126ba97db ("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>
History 2017-12-14 09:28:24 +01:00
..
core IB/addr: Fix setting source address in addr6_resolve() 2017-09-27 14:39:18 +02:00
hw IB/mlx5: Assign send CQ and recv CQ of UMR QP 2017-12-14 09:28:24 +01:00
sw IB/rxe: Fix reference leaks in memory key invalidation code 2017-11-15 15:53:16 +01:00
ulp IB/srp: Avoid that a cable pull can trigger a kernel crash 2017-11-30 08:39:07 +00:00
Kconfig qedr: Add RoCE driver framework 2016-10-14 15:00:10 -04:00
Makefile IB/rdmavt: Create module framework and handle driver registration 2016-03-10 20:37:04 -05:00