Re: [PATCH rdma-rc] RDMA/mlx5: Fix memory leak in mlx5_ib_create_srq() error path

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Jul 10, 2018 at 11:56:50AM +0300, Kamal Heib wrote:
> Fix memory leak in the error path of mlx5_ib_create_srq() by make sure
> to free the allocated srq.
>
> Fixes: c2b37f76485f ('IB/mlx5: Fix integer overflows in mlx5_ib_create_srq')
> Signed-off-by: Kamal Heib <kamalheib1@xxxxxxxxx>
> ---
>  drivers/infiniband/hw/mlx5/srq.c | 18 ++++++++++++------
>  1 file changed, 12 insertions(+), 6 deletions(-)
>

Thanks Kamal,
Acked-by: Leon Romanovsky <leonro@xxxxxxxxxxxx>

Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux