On 2020/7/14 14:08, Greg KH wrote:
On Tue, Jul 14, 2020 at 10:57:48AM +0000, Yang Yingliang wrote:
Add missing mmput() on error path to avoid ref-count leak.
This problem has already been resolved in mainline by
f27a0d50a4bc ("RDMA/umem: Use umem->owning_mm inside ODP").
Fixes: 79bb5b7ee177 ("RDMA/umem: Fix missing mmap_sem in get umem ODP call")
Signed-off-by: Yang Yingliang <yangyingliang@xxxxxxxxxx>
---
drivers/infiniband/core/umem_odp.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
$ ./scripts/get_maintainer.pl --file drivers/infiniband/core/umem_odp.c
Doug Ledford <dledford@xxxxxxxxxx> (supporter:INFINIBAND SUBSYSTEM)
Jason Gunthorpe <jgg@xxxxxxxx> (supporter:INFINIBAND SUBSYSTEM,commit_signer:28/25=100%,authored:17/25=68%,added_lines:453/481=94%,removed_lines:662/722=92%)
Leon Romanovsky <leon@xxxxxxxxxx> (commit_signer:16/25=64%)
Artemy Kovalyov <artemyko@xxxxxxxxxxxx> (commit_signer:4/25=16%)
Yishai Hadas <yishaih@xxxxxxxxxxxx> (commit_signer:3/25=12%,authored:3/25=12%)
Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> (commit_signer:2/25=8%)
Moni Shoua <monis@xxxxxxxxxxxx> (authored:2/25=8%)
linux-rdma@xxxxxxxxxxxxxxx (open list:INFINIBAND SUBSYSTEM)
linux-kernel@xxxxxxxxxxxxxxx (open list)
Any reason you ignored the mailing list for the whole IB developer
community?
It's my first time to send patch to stable mail list, I thought cc the
maintainer/supporter is enough.
I will re-send to the supporter and devlep mail list.
And you need to make this REALLY obvious that this is a stable-tree-only
patch, for a specific kernel version (and why only that one version),
and a whole lot more description to allow everyone to know what is going
on, and what you expect them to review this for.
OK, I will describe the version in change log.
Thanks,
Yang
thanks,
greg k-h
.