Re: [PATCH rdma-next] RDMA/uverbs: Don't do double free of allocated PD

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

 



On Wed, Feb 13, 2019 at 07:07:05PM +0200, Leon Romanovsky wrote:
> From: Leon Romanovsky <leonro@xxxxxxxxxxxx>
>
> There is no need to call kfree(pd) because ib_dealloc_pd()
> internally frees PD.
>
> Fixes: 21a428a019c9 ("RDMA: Handle PD allocations by IB/core")
> Reported-by: Dan Carpenter <dan.carpenter@xxxxxxxxxx>
> Signed-off-by: Leon Romanovsky <leonro@xxxxxxxxxxxx>
> ---
>  drivers/infiniband/core/uverbs_cmd.c | 1 +
>  1 file changed, 1 insertion(+)
>

Jason, Doug,

I see that this patch is accepted
https://patchwork.kernel.org/patch/10810421/, but don't see it in the tree.
https://git.kernel.org/pub/scm/linux/kernel/git/rdma/rdma.git/tree/drivers/infiniband/core/uverbs_cmd.c?h=wip/jgg-for-next#n444

Thanks

Attachment: signature.asc
Description: PGP signature


[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