linux/drivers/infiniband
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
..
core Second round of merge items for 4.8 2016-08-04 20:26:31 -04:00
hw IB/hns: Fix bug of memory leakage for registering user mr 2016-10-03 11:43:15 -04:00
sw Second round of merge items for 4.8 2016-08-04 20:26:31 -04:00
ulp Second round of merge items for 4.8 2016-08-04 20:26:31 -04:00
Kconfig IB/hns: Kconfig and Makefile for RoCE module 2016-08-22 14:02:33 -04:00
Makefile IB/rdmavt: Create module framework and handle driver registration 2016-03-10 20:37:04 -05:00