Re: [PATCH for-rc] RDMA/odp: Fix leaking the tgid for implicit ODP

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Mar 04, 2020 at 02:16:07PM -0400, Jason Gunthorpe wrote:
> The tgid used to be part of ib_umem_free_notifier(), when it was reworked
> it got moved to release, but it should have been unconditional as all umem
> alloc paths get the tgid.
> 
> As is, creating an implicit ODP will leak the tgid reference.
> 
> Cc: stable@xxxxxxxxxx
> Fixes: f25a546e6529 ("RDMA/odp: Use mmu_interval_notifier_insert()")
> Signed-off-by: Jason Gunthorpe <jgg@xxxxxxxxxxxx>
> ---
>  drivers/infiniband/core/umem_odp.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Applied to for-rc

Jason



[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux