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)
700
700
{
701
701
struct nvmet_rdma_rsp * rsp =
702
702
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 ;
704
704
705
705
nvmet_rdma_release_rsp (rsp );
706
706
@@ -786,7 +786,7 @@ static void nvmet_rdma_write_data_done(struct ib_cq *cq, struct ib_wc *wc)
786
786
{
787
787
struct nvmet_rdma_rsp * rsp =
788
788
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 ;
790
790
struct rdma_cm_id * cm_id = rsp -> queue -> cm_id ;
791
791
u16 status ;
792
792
You can’t perform that action at this time.
0 commit comments