]> git.baikalelectronics.ru Git - kernel.git/commit
IB/hns: Fix the bug with wild pointer when destroy rc qp
authoroulijun <oulijun@huawei.com>
Sat, 10 Jun 2017 10:49:22 +0000 (18:49 +0800)
committerDoug Ledford <dledford@redhat.com>
Tue, 18 Jul 2017 01:21:28 +0000 (21:21 -0400)
commite557435a1202ae602bf7df9de52f4dae6ddf8bb8
tree0d747cac32a08e875a91e6ea31713472e6567baf
parentfadb489c8f88029aad86c9443d61e8649c9117e7
IB/hns: Fix the bug with wild pointer when destroy rc qp

When destroyed rc qp, the hr_qp will be used after freed. This patch
will fix it.

Signed-off-by: Lijun Ou <oulijun@huawei.com>
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/hns/hns_roce_hw_v1.c