linux/drivers/infiniband
Roland Dreier 18eaf1f195 RDMA/ocrdma: Fix memory leak in _ocrdma_alloc_pd()
If ocrdma_get_pd_num() fails, then we need to free the pd struct we allocated.

This was detected by Coverity (CID 1271245).

Signed-off-by: Roland Dreier <roland@purestorage.com>
Acked-By: Devesh Sharma <devesh.sharma@avagotech.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
2015-06-02 09:22:31 -04:00
..
core RDMA/iw_cm: Export tos field to iwarp providers 2015-06-02 09:22:30 -04:00
hw RDMA/ocrdma: Fix memory leak in _ocrdma_alloc_pd() 2015-06-02 09:22:31 -04:00
ulp IB/ipoib: Fix RCU annotations in ipoib_neigh_hash_init() 2015-06-02 09:22:31 -04:00
Kconfig IB/core: Implement support for MMU notifiers regarding on demand paging regions 2014-12-15 18:13:36 -08:00
Makefile IB: Allow build of hw/ and ulp/ subdirectories independently 2014-06-02 14:51:12 -07:00