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 /net/lapb/lapb_timer.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 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions