Commit 1d8866a
[v2.3.x] fabtests/multi_ep: fix fi_info usage
In the RDM case of the multi_ep test, the test calls fi_getinfo again
for each EP in order to override the source address.
The source address was getting set as the node for the new call but the
FI_SOURCE flag was not set meaning the local source address was getting
resolved into the dst_addr which was never used anyway.
This removes the node parameter with the source address to let the
provider set a source address for us.
This also fixes an issue on cleanup if one of the calls to getinfo fails,
the test would try to cleanup the resources and would segfault because
the fi is NULL.
Signed-off-by: Alexia Ingerson <[email protected]>
(cherry picked from commit 1a749cb)1 parent 4db0b36 commit 1d8866a
1 file changed
+4
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
75 | 78 | | |
76 | 79 | | |
77 | 80 | | |
| |||
473 | 476 | | |
474 | 477 | | |
475 | 478 | | |
476 | | - | |
| 479 | + | |
477 | 480 | | |
478 | 481 | | |
479 | 482 | | |
| |||
0 commit comments