diff options
author | Yang Yingliang <yangyingliang@huawei.com> | 2020-07-14 17:56:39 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-07-29 11:16:47 +0300 |
commit | 5a987f7ba02c97c731a1a96e148910b54734ebea (patch) | |
tree | f4a6503475f4524cac09b7d7512117f913d0dd9d /sound/core | |
parent | 675f4bbcd68330d2d0c96e1f716886727ad7dd1a (diff) | |
download | linux-5a987f7ba02c97c731a1a96e148910b54734ebea.tar.xz |
IB/umem: fix reference count leak in ib_umem_odp_get()
Add missing mmput() on error path to avoid ref-count leak.
This problem is introduced by 79bb5b7ee177 ("RDMA/umem: Fix missing mmap_sem in get umem ODP call")
and resolved by f27a0d50a4bc ("RDMA/umem: Use umem->owning_mm inside ODP").
So, it's only needed in stable-4.14 and stable-4.19.
Fixes: 79bb5b7ee177 ("RDMA/umem: Fix missing mmap_sem in get umem ODP call")
Signed-off-by: Yang Yingliang <yangyingliang@huawei.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'sound/core')
0 files changed, 0 insertions, 0 deletions