@@ -186,9 +186,9 @@ opal_common_ucx_wpool_init(opal_common_ucx_wpool_t *wpool,
186186 rc = OPAL_ERROR ;
187187 goto err_worker_create ;
188188 }
189- wpool -> recv_worker = winfo -> worker ;
189+ wpool -> dflt_worker = winfo -> worker ;
190190
191- status = ucp_worker_get_address (wpool -> recv_worker ,
191+ status = ucp_worker_get_address (wpool -> dflt_worker ,
192192 & wpool -> recv_waddr , & wpool -> recv_waddr_len );
193193 if (status != UCS_OK ) {
194194 MCA_COMMON_UCX_VERBOSE (1 , "ucp_worker_get_address failed: %d" , status );
@@ -208,8 +208,8 @@ opal_common_ucx_wpool_init(opal_common_ucx_wpool_t *wpool,
208208err_wpool_add :
209209 free (wpool -> recv_waddr );
210210err_get_addr :
211- if (NULL != wpool -> recv_worker ) {
212- ucp_worker_destroy (wpool -> recv_worker );
211+ if (NULL != wpool -> dflt_worker ) {
212+ ucp_worker_destroy (wpool -> dflt_worker );
213213 }
214214 err_worker_create :
215215 ucp_cleanup (wpool -> ucp_ctx );
@@ -241,7 +241,7 @@ void opal_common_ucx_wpool_finalize(opal_common_ucx_wpool_t *wpool)
241241
242242 /* Release the address here. recv worker will be released
243243 * below along with other idle workers */
244- ucp_worker_release_address (wpool -> recv_worker , wpool -> recv_waddr );
244+ ucp_worker_release_address (wpool -> dflt_worker , wpool -> recv_waddr );
245245
246246 /* Go over the list, free idle list items */
247247 if (!opal_list_is_empty (& wpool -> idle_workers )) {
0 commit comments