]> git.baikalelectronics.ru Git - kernel.git/commit
IB/mlx5: Fix memory leak in mlx5_ib_create_srq
authorMoshe Lazer <moshel@mellanox.com>
Wed, 11 Sep 2013 13:35:24 +0000 (16:35 +0300)
committerRoland Dreier <roland@purestorage.com>
Thu, 10 Oct 2013 16:23:55 +0000 (09:23 -0700)
commitf31cc852a8b2d4242ea17151264551c564d9b406
tree73409f6b85a3da97cf94516311c79595fae58e1b
parent032ec8c86338927d53ebd6cb1fbcf0679bbe5767
IB/mlx5: Fix memory leak in mlx5_ib_create_srq

The patch fixes the rollback in case of failure in creating SRQ.

Signed-off-by: Moshe Lazer <moshel@mellanox.com>
Signed-off-by: Eli Cohen <eli@mellanox.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
drivers/infiniband/hw/mlx5/srq.c