1
0
Fork 0
remarkable-linux/drivers/infiniband
Kamal Heib 26c7588c28 RDMA/mlx5: Fix memory leak in mlx5_ib_create_srq() error path
[ Upstream commit d63c46734c ]

Fix memory leak in the error path of mlx5_ib_create_srq() by making sure
to free the allocated srq.

Fixes: c2b37f7648 ("IB/mlx5: Fix integer overflows in mlx5_ib_create_srq")
Signed-off-by: Kamal Heib <kamalheib1@gmail.com>
Acked-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-08-24 13:09:16 +02:00
..
core RDMA/uverbs: Expand primary and alt AV port checks 2018-08-06 16:20:51 +02:00
hw RDMA/mlx5: Fix memory leak in mlx5_ib_create_srq() error path 2018-08-24 13:09:16 +02:00
sw IB/rxe: Fix missing completion for mem_reg work requests 2018-08-24 13:09:00 +02:00
ulp drivers/infiniband/ulp/srpt/ib_srpt.c: fix build with gcc-4.4.4 2018-08-03 07:50:20 +02:00
Kconfig RDMA/ucm: Mark UCM interface as BROKEN 2018-07-17 11:39:33 +02:00
Makefile IB/rdmavt: Create module framework and handle driver registration 2016-03-10 20:37:04 -05:00