[openib-general] [PATCH] rping.c - indicate failure when rdma_resolve_addr returns an error
Steve Wise
swise at opengridcomputing.com
Sun Apr 30 10:26:38 PDT 2006
Committed revision 6787.
On Sun, 2006-04-30 at 12:24 -0500, Steve Wise wrote:
> Move the state to ERROR if rdma_resolve_route() fails.
>
> Signed-off-by: Steve Wise <swise at opengridcomputing.com>
>
>
>
> Index: rping.c
> ===================================================================
> --- rping.c (revision 6741)
> +++ rping.c (working copy)
> @@ -161,6 +161,7 @@
> cb->state = ADDR_RESOLVED;
> ret = rdma_resolve_route(cma_id, 2000);
> if (ret) {
> + cb->state = ERROR;
> fprintf(stderr, "rdma_resolve_route error %d\n", ret);
> sem_post(&cb->sem);
> }
>
> _______________________________________________
> openib-general mailing list
> openib-general at openib.org
> http://openib.org/mailman/listinfo/openib-general
>
> To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general
More information about the general
mailing list