Skip to content

Commit 038ae4a

Browse files
committed
Fix bugs in efa_rdm_srx.c
1 parent 754d709 commit 038ae4a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

prov/efa/src/rdm/efa_rdm_srx.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,15 +74,15 @@ void efa_rdm_srx_construct_pkt_entry(struct rxr_ep *ep,
7474
rtm_hdr = (struct rxr_longread_rtm_base_hdr *)pkt_entry->wiredata;
7575
rtm_hdr->hdr.type = pkt_type;
7676
rtm_hdr->hdr.version = RXR_PROTOCOL_VERSION;
77-
rtm_hdr->hdr.flags |= RXR_REQ_MSG;
77+
rtm_hdr->hdr.flags = RXR_REQ_MSG;
7878
rtm_hdr->msg_length = size;
7979

8080
if (op == ofi_op_tagged) {
8181
rtm_hdr->hdr.flags |= RXR_REQ_TAGGED;
8282
rxr_pkt_rtm_settag(pkt_entry, tag);
8383
}
8484

85-
pkt_entry->pkt_size = rxr_pkt_req_hdr_size_from_pkt_entry(pkt_entry);
85+
pkt_entry->pkt_size = rxr_pkt_req_hdr_size(pkt_type, 0, 0);
8686
pkt_entry->addr = addr;
8787
pkt_entry->alloc_type = RXR_PKT_FROM_PEER_SRX;
8888
pkt_entry->flags = RXR_PKT_ENTRY_IN_USE;

0 commit comments

Comments
 (0)