linux/drivers/infiniband
Doug Ledford 6b9f8970cd IB/rxe: put the pool on allocation failure
If the allocation of elem fails, it is not sufficient to simply check
for NULL and return.  We need to also put our reference on the pool or
else we will leave the pool with a permanent ref count and we will never
be able to free it.

Fixes: 4831ca9e4a ("IB/rxe: check for allocation failure on elem")
Suggested-by: Leon Romanovsky <leon@kernel.org>
Signed-off-by: Doug Ledford <dledford@redhat.com>
2017-10-09 12:10:41 -04:00
..
core IB/core: Do not warn on lid conversions for OPA 2017-10-04 15:39:45 -04:00
hw IB/hfi1: Do not warn on lid conversions for OPA 2017-10-04 15:39:45 -04:00
sw IB/rxe: put the pool on allocation failure 2017-10-09 12:10:41 -04:00
ulp IB/{ipoib, iser}: Consistent print format of vendor error 2017-09-29 11:18:56 -04:00
Kconfig IB: Move PCI dependency from root KConfig to HW's KConfigs 2017-09-27 08:54:19 -04:00
Makefile IB/rdmavt: Create module framework and handle driver registration 2016-03-10 20:37:04 -05:00