linux_dsm_epyc7002/drivers/infiniband
Colin Ian King 5b59a3969e IB/hns: fix memory leak on ah on error return path
When dmac is NULL, ah is not being freed on the error return path. Fix
this by kfree'ing it.

Detected by CoverityScan, CID#1452636 ("Resource Leak")

Fixes: d8966fcd4c ("IB/core: Use rdma_ah_attr accessor functions")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
2017-08-16 11:30:33 -04:00
..
core IPoIB fixes for 4.13 2017-08-07 13:30:40 -04:00
hw IB/hns: fix memory leak on ah on error return path 2017-08-16 11:30:33 -04:00
sw rxe: fix broken receive queue draining 2017-07-20 11:20:50 -04:00
ulp IB/ipoib: Notify on modify QP failure only when relevant 2017-07-23 10:52:00 +03:00
Kconfig IB/opa-vnic: Virtual Network Interface Controller (VNIC) netdev 2017-04-20 12:01:38 -04:00
Makefile IB/rdmavt: Create module framework and handle driver registration 2016-03-10 20:37:04 -05:00