We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 74c3875 commit 37b3619Copy full SHA for 37b3619
drivers/infiniband/sw/rxe/rxe_resp.c
@@ -1070,12 +1070,13 @@ static enum resp_states duplicate_request(struct rxe_qp *qp,
1070
struct rxe_pkt_info *pkt)
1071
{
1072
enum resp_states rc;
1073
+ u32 prev_psn = (qp->resp.psn - 1) & BTH_PSN_MASK;
1074
1075
if (pkt->mask & RXE_SEND_MASK ||
1076
pkt->mask & RXE_WRITE_MASK) {
1077
/* SEND. Ack again and cleanup. C9-105. */
1078
if (bth_ack(pkt))
- send_ack(qp, pkt, AETH_ACK_UNLIMITED, qp->resp.psn - 1);
1079
+ send_ack(qp, pkt, AETH_ACK_UNLIMITED, prev_psn);
1080
rc = RESPST_CLEANUP;
1081
goto out;
1082
} else if (pkt->mask & RXE_READ_MASK) {
0 commit comments