Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
UCP/AM: Fix request datatype state during CM switch
When switching between transports, we can add new memry registration handles to req->send.state.dt by calling ucp_send_request_add_reg_lane() from ucp_do_am_zcopy_single(). Should not save 'state' before calling add_reg_lane() - otherwise the new memory registration will be overridden. This fixes failure on r-vmb-ppc-jenkins in test_ucp_sockaddr_cm_switch test with the symptom "Error: Input/output error". It is actually a local protection error (PD violation) due to using wrong uct_mem_h.
- Loading branch information