summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorNavid Emamdoost <navid.emamdoost@gmail.com>2019-09-11 01:21:19 +0300
committerJason Gunthorpe <jgg@mellanox.com>2019-09-13 22:55:55 +0300
commit4a9d46a9fe14401f21df69cea97c62396d5fb053 (patch)
tree1bcbe3047029c5063963429dcefbff5d19dcf6ec /tools/perf/scripts/python/stackcollapse.py
parent2ac5a6d3a917755919d97c89f8aa74e4ed958557 (diff)
downloadlinux-4a9d46a9fe14401f21df69cea97c62396d5fb053.tar.xz
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 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions