On Sat, Feb 23, 2019 at 01:39:11AM -0700, Leon Romanovsky wrote: > 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 Ah, my bad, I had intended to apply it and try some more in this area later. Jason