-
Yang Yingliang authored
Add missing mmput() on error path to avoid ref-count leak. This problem is introduced by 79bb5b7e ("RDMA/umem: Fix missing mmap_sem in get umem ODP call") and resolved by f27a0d50 ("RDMA/umem: Use umem->owning_mm inside ODP"). So, it's only needed in stable-4.14 and stable-4.19. Fixes: 79bb5b7e ("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>
5a987f7b