]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
IB/hns: Fix two possible bugs for rdma cm
authorLijun Ou <oulijun@huawei.com>
Thu, 15 Sep 2016 22:48:09 +0000 (23:48 +0100)
committerDoug Ledford <dledford@redhat.com>
Mon, 3 Oct 2016 15:43:10 +0000 (11:43 -0400)
commitc24bf895c56157e4d0fba7717ed565f2f3fc25aa
tree96d32e68c9108455b2ae0543af522685e466dc99
parenta74aab6c2fdbd9f9501638f67ebedce49d9a8195
IB/hns: Fix two possible bugs for rdma cm

Fix the length of wqe that maybe lead to an error and
write the end bytes of QP1C into the register.

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_hw_v1.c