Skip to content

Commit 1650ed4

Browse files
committed
[v2.2.x] prov/efa: Initialize pke->addr to FI_ADDR_NOTAVAIL
Signed-off-by: Darryl Abbate <[email protected]>
1 parent a0c4b88 commit 1650ed4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

prov/efa/src/rdm/efa_rdm_pke.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ struct efa_rdm_pke *efa_rdm_pke_alloc(struct efa_rdm_ep *ep,
6464
* should be adjusted according to the actual data size.
6565
*/
6666
pkt_entry->pkt_size = pkt_pool->attr.size - sizeof(struct efa_rdm_pke);
67+
pkt_entry->addr = FI_ADDR_NOTAVAIL;
6768
pkt_entry->alloc_type = alloc_type;
6869
pkt_entry->flags = EFA_RDM_PKE_IN_USE;
6970
pkt_entry->next = NULL;

0 commit comments

Comments
 (0)