[PATCH 4.17 243/324] RDMA/mlx5: Fix memory leak in mlx5_ib_create_srq() error path

2018-08-23 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Kamal Heib [ Upstream commit d63c46734c545ad0488761059004a65c46efdde3 ] Fix memory leak in the error path of mlx5_ib_create_srq() by making sure to free the allocated srq. Fixes:

[PATCH 4.17 243/324] RDMA/mlx5: Fix memory leak in mlx5_ib_create_srq() error path

2018-08-23 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Kamal Heib [ Upstream commit d63c46734c545ad0488761059004a65c46efdde3 ] Fix memory leak in the error path of mlx5_ib_create_srq() by making sure to free the allocated srq. Fixes: