aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/sched-migration.py
diff options
context:
space:
mode:
authorChao Leng <[email protected]>2020-10-12 16:55:37 +0800
committerChristoph Hellwig <[email protected]>2020-10-22 15:27:14 +0200
commita87da50f39d467f2ea4c1f98decb72ef6d87a31e (patch)
treec4f96aeae1c458f64d70777eff20836d79394052 /tools/perf/scripts/python/sched-migration.py
parent43efdb8e870ee0f58633fd579aa5b5185bf5d39e (diff)
nvme-rdma: fix crash due to incorrect cqe
A crash happened due to injecting error test. When a CQE has incorrect command id due do an error injection, the host may find a request which is already freed. Dereferencing req->mr->rkey causes a crash in nvme_rdma_process_nvme_rsp because the mr is already freed. Add a check for the mr to fix it. Signed-off-by: Chao Leng <[email protected]> Reviewed-by: Sagi Grimberg <[email protected]> Signed-off-by: Christoph Hellwig <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions