Skip to content

Commit

Permalink
UCT/CM/RDMACM: add UCX_RDMA_CM_SOURCE_ADDRESS config, fix for cstools
Browse files Browse the repository at this point in the history
  • Loading branch information
evgeny-leksikov committed Dec 10, 2020
1 parent afea033 commit 5f1eb51
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/uct/ib/rdmacm/rdmacm_cm.c
Original file line number Diff line number Diff line change
Expand Up @@ -607,7 +607,7 @@ UCS_CLASS_INIT_FUNC(uct_rdmacm_cm_t, uct_component_h component,
if (rdmacm_config->src_addr[0] == '\0') {
self->config.src_addr = NULL;
} else {
self->config.src_addr = ucs_calloc(1, sizeof(struct sockaddr_storage),
self->config.src_addr = ucs_malloc(sizeof(struct sockaddr_storage),
"rdmacm_src_addr");
if (self->config.src_addr == NULL) {
ucs_error("cannot allocate memory for rdmacm source address");
Expand Down

0 comments on commit 5f1eb51

Please sign in to comment.