aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/sw/siw/siw_qp_tx.c
diff options
context:
space:
mode:
authorNavid Emamdoost <navid.emamdoost@gmail.com>2019-09-10 17:21:19 -0500
committerJason Gunthorpe <jgg@mellanox.com>2019-09-13 16:55:55 -0300
commit4a9d46a9fe14401f21df69cea97c62396d5fb053 (patch)
tree1bcbe3047029c5063963429dcefbff5d19dcf6ec /drivers/infiniband/sw/siw/siw_qp_tx.c
parentRDMA/usnic: Avoid overly large buffers on stack (diff)
downloadlinux-dev-4a9d46a9fe14401f21df69cea97c62396d5fb053.tar.xz
linux-dev-4a9d46a9fe14401f21df69cea97c62396d5fb053.zip
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: 37cb11acf1f7 ("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>
Diffstat (limited to 'drivers/infiniband/sw/siw/siw_qp_tx.c')
0 files changed, 0 insertions, 0 deletions