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

Or Gerlitz ogerlitz at voltaire.com
Sun Dec 10 02:19:01 PST 2006


Sean Hefty wrote:
> Updates the librdmacm to work with ABI version 3, which is the proposed
> kernel changes for inclusion in 2.6.20.

Sean,

rdma_leave_multicast does not return zero on success but rather 24 which 
is the length of the leave mcast msg.

patch made over your path, can you please queue this somewhere so it 
will not be forgotten?

Or.

> --- 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