|
|
@@ -2303,7 +2303,7 @@ send_last:
|
|
|
update_ack_queue(qp, next);
|
|
|
}
|
|
|
e = &qp->s_ack_queue[qp->r_head_ack_queue];
|
|
|
- if (e->opcode == OP(RDMA_READ_REQUEST) && e->rdma_sge.mr) {
|
|
|
+ if (e->rdma_sge.mr) {
|
|
|
rvt_put_mr(e->rdma_sge.mr);
|
|
|
e->rdma_sge.mr = NULL;
|
|
|
}
|
|
|
@@ -2377,7 +2377,7 @@ send_last:
|
|
|
update_ack_queue(qp, next);
|
|
|
}
|
|
|
e = &qp->s_ack_queue[qp->r_head_ack_queue];
|
|
|
- if (e->opcode == OP(RDMA_READ_REQUEST) && e->rdma_sge.mr) {
|
|
|
+ if (e->rdma_sge.mr) {
|
|
|
rvt_put_mr(e->rdma_sge.mr);
|
|
|
e->rdma_sge.mr = NULL;
|
|
|
}
|