> Currently rdma_addr_cancel() is an async operation, which notifies > that cancel is done by executing the callback function given during > rdma_resolve_ip(). If resolve_ip request is already completed than > callback is not executed. > > Instead, now rdma_resolve_addr() and rdma_addr_cancel() simplified in > following ways. > 1. rdma_addr_cancel() now a synchronous method. If request was > pending, after it is cancelled, no callback is notified. There's no way for a caller to know if a callback will be invoked or not after rdma_addr_cancel() returns. A callback could already be in progress (but not yet hit the caller's code) when they call cancel. - Sean