summaryrefslogtreecommitdiffstats
path: root/tools/testing
diff options
context:
space:
mode:
authorKamal Heib <kamalheib1@gmail.com>2018-07-10 11:56:50 +0300
committerJason Gunthorpe <jgg@mellanox.com>2018-07-11 14:16:13 -0600
commitd63c46734c545ad0488761059004a65c46efdde3 (patch)
tree71e29caa5e21937df10c67a67a859bbd703d1294 /tools/testing
parentfe48aecb4df837540f13b5216f27ddb306aaf4b9 (diff)
downloadlinux-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