]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
IB/hns: Fix the bug of rdma cm connecting on user mode
authorLijun Ou <oulijun@huawei.com>
Thu, 15 Sep 2016 22:48:12 +0000 (23:48 +0100)
committerDoug Ledford <dledford@redhat.com>
Mon, 3 Oct 2016 15:43:10 +0000 (11:43 -0400)
commit509bf0c2da99f0fc22c841de1fa3d813e4932a9f
treec92a01b23b38fe3a08c48f785031cd42928a7fea
parentb280db52cc71a0cb135c2ab9adc0592af6440812
IB/hns: Fix the bug of rdma cm connecting on user mode

Fix bug of modify qp from init to init on user mode. Otherwise,
it will oops when rmda cm established.

Signed-off-by: Lijun Ou <oulijun@huawei.com>
Reviewed-by: Wei Hu <xavier.huwei@huawei.com>
Signed-off-by: Salil Mehta <salil.mehta@huawei.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/hns/hns_roce_device.h
drivers/infiniband/hw/hns/hns_roce_hw_v1.c
drivers/infiniband/hw/hns/hns_roce_qp.c