diff options
| author | Lijun Ou <[email protected]> | 2016-09-20 17:07:03 +0100 |
|---|---|---|
| committer | Doug Ledford <[email protected]> | 2016-10-03 11:43:15 -0400 |
| commit | 1cd11064da4b0bca992ca0f9594adbf53df25879 (patch) | |
| tree | ac621e1c433ac5dcc7ce3f3a7d2b4c638c6502e7 /net/lapb/lapb_out.c | |
| parent | 49fdf6bb0a172a8fe631d89a421857336efc4382 (diff) | |
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 <[email protected]>
Signed-off-by: Dongdong Huang(Donald) <[email protected]>
Reviewed-by: Wei Hu (Xavier) <[email protected]>
Signed-off-by: Salil Mehta <[email protected]>
Signed-off-by: Doug Ledford <[email protected]>
Diffstat (limited to 'net/lapb/lapb_out.c')
0 files changed, 0 insertions, 0 deletions