[openib-general] [PATCH] librdmacm: updated librdmacm to work with proposed 2.6.20 kernel CMA

Or Gerlitz ogerlitz at voltaire.com
Tue Dec 12 00:57:32 PST 2006


Sean Hefty wrote:
> Can you just send a signed-off-by line?  I'll add the patch to the 
> librdmacm multicast branch.

> fix rdma_leave_multicast return code on the success path
> 
> Signed-off-by: Or Gerlitz <ogerlitz at voltaire.com>
> 
> --- librdmacm/src/cma.c 2006-12-10 12:55:03.000000000 +0200
> +++ librdmacm-multicast/src/cma.c       2006-12-10 13:15:12.000000000 +0200
> @@ -1015,6 +1015,8 @@ int rdma_leave_multicast(struct rdma_cm_
>         ret = write(id->channel->fd, msg, size);
>         if (ret != size)
>                 ret = (ret > 0) ? -ENODATA : ret;
> +       else
> +               ret = 0;
> 
>         pthread_mutex_lock(&id_priv->mut);
>         while (mc->events_completed < resp->events_reported)





More information about the general mailing list