summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorRuozhu Li <liruozhu@huawei.com>2021-09-06 11:51:34 +0800
committerChristoph Hellwig <hch@lst.de>2021-09-14 10:32:04 +0200
commit9817d763dbe15327b9b3ff4404fa6f27f927e744 (patch)
treede515584710499481ffc30692b98c9edaaea84f8 /tools/perf/scripts/python/export-to-sqlite.py
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 <liruozhu@huawei.com> Reviewed-by: Max Gurtovoy <mgurtovoy@nvidia.com> Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions