linux/drivers/infiniband
Mark Bloch 1c3aa6bd0b RDMA/mlx5: Fix wrong free of blue flame register on error
If the allocation of the fast path blue flame register fails, the driver
should free the regular blue flame register allocated a statement above,
not the one that it just failed to allocate.

Fixes: 16c1975f10 ("IB/mlx5: Create profile infrastructure to add and remove stages")
Link: https://lore.kernel.org/r/20210113121703.559778-6-leon@kernel.org
Reported-by: Hans Petter Selasky <hanss@nvidia.com>
Signed-off-by: Mark Bloch <mbloch@nvidia.com>
Signed-off-by: Leon Romanovsky <leonro@nvidia.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
2021-01-14 12:51:29 -04:00
..
core RDMA/umem: Avoid undefined behavior of rounddown_pow_of_two() 2021-01-14 12:50:17 -04:00
hw RDMA/mlx5: Fix wrong free of blue flame register on error 2021-01-14 12:51:29 -04:00
sw RDMA/rxe: Use acquire/release for memory ordering 2020-12-11 19:57:48 -04:00
ulp block/rnbd-clt: Does not request pdu to rtrs-clt 2020-12-16 14:56:09 -07:00
Kconfig RMDA/sw: Don't allow drivers using dma_virt_ops on highmem configs 2020-11-12 13:27:41 -04:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00