mirror_ubuntu-kernels/drivers/infiniband/hw
Navid Emamdoost 4a9d46a9fe RDMA: Fix goto target to release the allocated memory
In bnxt_re_create_srq(), when ib_copy_to_udata() fails allocated memory
should be released by goto fail.

Fixes: 37cb11acf1 ("RDMA/bnxt_re: Add SRQ support for Broadcom adapters")
Link: https://lore.kernel.org/r/20190910222120.16517-1-navid.emamdoost@gmail.com
Signed-off-by: Navid Emamdoost <navid.emamdoost@gmail.com>
Reviewed-by: Jason Gunthorpe <jgg@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
2019-09-13 16:55:55 -03:00
..
bnxt_re RDMA: Fix goto target to release the allocated memory 2019-09-13 16:55:55 -03:00
cxgb3 RDMA/{cxgb3, cxgb4, i40iw}: Remove common code 2019-08-12 10:19:43 -04:00
cxgb4 RDMA/{cxgb3, cxgb4, i40iw}: Remove common code 2019-08-12 10:19:43 -04:00
efa RDMA/efa: Use existing FIELD_SIZEOF macro 2019-08-27 13:01:15 -03:00
hfi1 Merge branch 'odp_fixes' into rdma.git for-next 2019-08-21 14:10:36 -03:00
hns RDMA/hns: Use devm_platform_ioremap_resource() to simplify code 2019-09-13 16:55:55 -03:00
i40iw RDMA/{cxgb3, cxgb4, i40iw}: Remove common code 2019-08-12 10:19:43 -04:00
mlx4 RDMA: Introduce ib_port_phys_state enum 2019-08-12 10:18:52 -04:00
mlx5 Merge branch 'mlx5-odp-dc' into rdma.git for-next 2019-08-28 11:25:37 -03:00
mthca IB: Remove unneeded memset 2019-07-03 14:26:49 -03:00
ocrdma RDMA: Introduce ib_port_phys_state enum 2019-08-12 10:18:52 -04:00
qedr RDMA: Introduce ib_port_phys_state enum 2019-08-12 10:18:52 -04:00
qib RDMA/qib: Unneeded variable ret 2019-07-25 13:53:45 -03:00
usnic RDMA/usnic: Avoid overly large buffers on stack 2019-09-13 16:55:55 -03:00
vmw_pvrdma Linux 5.2-rc6 2019-06-28 21:18:23 -03:00
Makefile rdma: Remove nes 2019-06-13 09:59:49 -04:00