Re: [PATCH] RDMA/ocrdma: fix double free on pd

2015-06-10 Thread Doug Ledford
On Fri, 2015-06-05 at 15:47 +0100, Colin King wrote: > From: Colin Ian King > > A reorganisation of the PD allocation and deallocation in commit > 9ba1377daa ("RDMA/ocrdma: Move PD resource management to driver.") > introduced a double free on pd, as detected by static analysis by > smatch: > >

Re: [PATCH] RDMA/ocrdma: fix double free on pd

2015-06-07 Thread Devesh Sharma
Acked-By: Devesh Sharma On Fri, Jun 5, 2015 at 8:17 PM, Colin King wrote: > From: Colin Ian King > > A reorganisation of the PD allocation and deallocation in commit > 9ba1377daa ("RDMA/ocrdma: Move PD resource management to driver.") > introduced a double free on pd, as detected by static anal

[PATCH] RDMA/ocrdma: fix double free on pd

2015-06-05 Thread Colin King
From: Colin Ian King A reorganisation of the PD allocation and deallocation in commit 9ba1377daa ("RDMA/ocrdma: Move PD resource management to driver.") introduced a double free on pd, as detected by static analysis by smatch: drivers/infiniband/hw/ocrdma/ocrdma_verbs.c:682 ocrdma_alloc_pd() e