diff options
author | Navid Emamdoost <[email protected]> | 2019-09-10 17:21:19 -0500 |
---|---|---|
committer | Jason Gunthorpe <[email protected]> | 2019-09-13 16:55:55 -0300 |
commit | 4a9d46a9fe14401f21df69cea97c62396d5fb053 (patch) | |
tree | 1bcbe3047029c5063963429dcefbff5d19dcf6ec /drivers/usb/cdns3/cdns3-ti.c | |
parent | 2ac5a6d3a917755919d97c89f8aa74e4ed958557 (diff) |
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/[email protected]
Signed-off-by: Navid Emamdoost <[email protected]>
Reviewed-by: Jason Gunthorpe <[email protected]>
Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-ti.c')
0 files changed, 0 insertions, 0 deletions