File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -700,7 +700,7 @@ static void nvmet_rdma_send_done(struct ib_cq *cq, struct ib_wc *wc)
700700{
701701 struct nvmet_rdma_rsp * rsp =
702702 container_of (wc -> wr_cqe , struct nvmet_rdma_rsp , send_cqe );
703- struct nvmet_rdma_queue * queue = cq -> cq_context ;
703+ struct nvmet_rdma_queue * queue = wc -> qp -> qp_context ;
704704
705705 nvmet_rdma_release_rsp (rsp );
706706
@@ -786,7 +786,7 @@ static void nvmet_rdma_write_data_done(struct ib_cq *cq, struct ib_wc *wc)
786786{
787787 struct nvmet_rdma_rsp * rsp =
788788 container_of (wc -> wr_cqe , struct nvmet_rdma_rsp , write_cqe );
789- struct nvmet_rdma_queue * queue = cq -> cq_context ;
789+ struct nvmet_rdma_queue * queue = wc -> qp -> qp_context ;
790790 struct rdma_cm_id * cm_id = rsp -> queue -> cm_id ;
791791 u16 status ;
792792
You can’t perform that action at this time.
0 commit comments