1
0
Fork 0
alistair23-linux/drivers/infiniband/hw/hns
Lijun Ou 1cd11064da IB/hns: Fix bug of memory leakage for registering user mr
While the page size attribute of umem is illegal, we should release
umem that get by ib_umem_get interface.

Also, we should return a non-zero value while pbl number is wrong.

Signed-off-by: Lijun Ou <oulijun@huawei.com>
Signed-off-by: Dongdong Huang(Donald) <hdd.huang@huawei.com>
Reviewed-by:  Wei Hu (Xavier) <xavier.huwei@huawei.com>
Signed-off-by: Salil Mehta <salil.mehta@huawei.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
2016-10-03 11:43:15 -04:00
..
Kconfig IB/hns: Kconfig and Makefile for RoCE module 2016-08-22 14:02:33 -04:00
Makefile IB/hns: Kconfig and Makefile for RoCE module 2016-08-22 14:02:33 -04:00
hns_roce_ah.c
hns_roce_alloc.c
hns_roce_cmd.c
hns_roce_cmd.h
hns_roce_common.h
hns_roce_cq.c IB/hns: Fix bug of using uninit refcount and free 2016-10-03 11:43:15 -04:00
hns_roce_device.h IB/hns: Delete the sqp_start from the structure hns_roce_caps 2016-10-03 11:43:15 -04:00
hns_roce_eq.c IB/hns: Optimize code of aeq and ceq interrupt handle and fix the bug of qpn 2016-10-03 11:43:15 -04:00
hns_roce_eq.h IB/hns: Optimize code of aeq and ceq interrupt handle and fix the bug of qpn 2016-10-03 11:43:15 -04:00
hns_roce_hem.c IB/hns: Fix bug of clear hem 2016-10-03 11:43:15 -04:00
hns_roce_hem.h IB/hns: Fix bug of clear hem 2016-10-03 11:43:15 -04:00
hns_roce_hw_v1.c IB/hns: Delete the sqp_start from the structure hns_roce_caps 2016-10-03 11:43:15 -04:00
hns_roce_hw_v1.h IB/hns: Fix bug of clear hem 2016-10-03 11:43:15 -04:00
hns_roce_main.c IB/hns: Modify the init of iboe lock 2016-10-03 11:43:15 -04:00
hns_roce_mr.c IB/hns: Fix bug of memory leakage for registering user mr 2016-10-03 11:43:15 -04:00
hns_roce_pd.c IB/hns: Simplify function of pd alloc and qp alloc 2016-10-03 11:43:15 -04:00
hns_roce_qp.c IB/hns: Delete the sqp_start from the structure hns_roce_caps 2016-10-03 11:43:15 -04:00
hns_roce_user.h