Re: [PATCH v2] ib umem: bugfix: mixed put_pid()s in ib_umem_get()

From: Leon Romanovsky
Date: Thu Dec 29 2016 - 03:18:11 EST


On Thu, Dec 29, 2016 at 04:27:28PM +0800, Kenneth Lee wrote:
> There are two bugfixes in this patch:
>
> 1. When the execution go to the ib_umem_odp_get() path, pid should be put
> back.
> 2. When the memory allocation fail, the pid also should be put back before
> exit.
>
> Signed-off-by: Kenneth Lee <liguozhu@xxxxxxxxxxxxx>
> Reviewed-by: Haggai Eran <haggaie@xxxxxxxxxxxx>
> ---
> Change from v1 to v2:
> Correcting the patch title and description

I don't see any changes except version in the title.
What about anything like this?
[PATCH v3] IB/umem: Release pid in error and ODP flows

And Fixes line please, it will help to forward it to stable trees.

Thanks

Attachment: signature.asc
Description: PGP signature