]> 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)
commit58c4f0d85f59c458074f016c13991c0a81105180
tree0d747cac32a08e875a91e6ea31713472e6567baf
parent5802883d4b7c544012a1857660f78af41f6c183a
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