RE: [PATCH] RDMA/cxgb4: Fix memory leaks in c4iw_alloc() error paths
From: Steve Wise
Date: Mon Apr 21 2014 - 11:22:24 EST
> -----Original Message-----
> From: Christoph Jaeger [mailto:christophjaeger@xxxxxxxxx]
> Sent: Monday, April 21, 2014 10:03 AM
> To: swise@xxxxxxxxxxx; roland@xxxxxxxxxx; sean.hefty@xxxxxxxxx; hal.rosenstock@xxxxxxxxx
> Cc: linux-rdma@xxxxxxxxxxxxxxx; linux-kernel@xxxxxxxxxxxxxxx; Christoph Jaeger
> Subject: [PATCH] RDMA/cxgb4: Fix memory leaks in c4iw_alloc() error paths
>
> c4iw_alloc() bails out without freeing the storage that 'devp' points to.
>
> Picked up by Coverity - CID 1204241.
>
> Fixes: fa658a98a2 ("RDMA/cxgb4: Use the BAR2/WC path for kernel QPs and T5 devices")
> Signed-off-by: Christoph Jaeger <christophjaeger@xxxxxxxxx>
Acked-by: Steve Wise <swise@xxxxxxxxxxxxxxxxxxxxx>
thanks!
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/