diff options
author | Kamal Heib <kamalheib1@gmail.com> | 2018-07-10 11:56:50 +0300 |
---|---|---|
committer | Jason Gunthorpe <jgg@mellanox.com> | 2018-07-11 14:16:13 -0600 |
commit | d63c46734c545ad0488761059004a65c46efdde3 (patch) | |
tree | 71e29caa5e21937df10c67a67a859bbd703d1294 /tools/testing | |
parent | fe48aecb4df837540f13b5216f27ddb306aaf4b9 (diff) | |
download | linux-stable-d63c46734c545ad0488761059004a65c46efdde3.tar.gz linux-stable-d63c46734c545ad0488761059004a65c46efdde3.tar.bz2 linux-stable-d63c46734c545ad0488761059004a65c46efdde3.zip |
RDMA/mlx5: Fix memory leak in mlx5_ib_create_srq() error path
Fix memory leak in the error path of mlx5_ib_create_srq() by making sure
to free the allocated srq.
Fixes: c2b37f76485f ("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>
Diffstat (limited to 'tools/testing')
0 files changed, 0 insertions, 0 deletions