Unverified Commit 9bfba252 authored by openeuler-ci-bot's avatar openeuler-ci-bot Committed by Gitee
Browse files

!10125 nvme-rdma: fix possible use-after-free in transport error_recovery work

parents 499cde97 506d17d5
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -1045,6 +1045,7 @@ static void nvme_rdma_error_recovery_work(struct work_struct *work)
			struct nvme_rdma_ctrl, err_work);

	nvme_stop_keep_alive(&ctrl->ctrl);
	flush_work(&ctrl->ctrl.async_event_work);
	nvme_rdma_teardown_io_queues(ctrl, false);
	nvme_start_queues(&ctrl->ctrl);
	nvme_rdma_teardown_admin_queue(ctrl, false);