aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorRuozhu Li <[email protected]>2021-09-06 11:51:34 +0800
committerChristoph Hellwig <[email protected]>2021-09-14 10:32:04 +0200
commit9817d763dbe15327b9b3ff4404fa6f27f927e744 (patch)
treede515584710499481ffc30692b98c9edaaea84f8 /tools/perf/util/trace-event-scripting.c
parent79f528afa93918519574773ea49a444c104bc1bd (diff)
nvme-rdma: destroy cm id before destroy qp to avoid use after free
We should always destroy cm_id before destroy qp to avoid to get cma event after qp was destroyed, which may lead to use after free. In RDMA connection establishment error flow, don't destroy qp in cm event handler.Just report cm_error to upper level, qp will be destroy in nvme_rdma_alloc_queue() after destroy cm id. Signed-off-by: Ruozhu Li <[email protected]> Reviewed-by: Max Gurtovoy <[email protected]> Signed-off-by: Christoph Hellwig <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions