summaryrefslogtreecommitdiff
path: root/drivers/infiniband/hw
diff options
context:
space:
mode:
authorLeon Romanovsky <leonro@mellanox.com>2019-02-13 20:07:05 +0300
committerJason Gunthorpe <jgg@mellanox.com>2019-02-26 01:00:48 +0300
commitbb618451544ca9152a1a213d0a2b93d231c4cce1 (patch)
treec2ee489fcfdfd8c65764e7f091f8f2af6097c810 /drivers/infiniband/hw
parenta2a074ef396f8738d9ee08ceefa8811381a4fe4f (diff)
downloadlinux-bb618451544ca9152a1a213d0a2b93d231c4cce1.tar.xz
RDMA/uverbs: Don't do double free of allocated PD
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@oracle.com> Signed-off-by: Leon Romanovsky <leonro@mellanox.com> Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'drivers/infiniband/hw')
0 files changed, 0 insertions, 0 deletions