Message ID | 04702C2CBECB44E5A2D3D3495EA0378B@amr.corp.intel.com (mailing list archive) |
---|---|
State | Not Applicable, archived |
Headers | show |
diff --git a/src/cma.c b/src/cma.c index 87e73ac..e4bc8d6 100644 --- a/src/cma.c +++ b/src/cma.c @@ -1044,7 +1044,7 @@ int rdma_join_multicast(struct rdma_cm_id *id, struct sockaddr *addr, mc->context = context; mc->id_priv = id_priv; memcpy(&mc->addr, addr, addrlen); - if (pthread_cond_init(&id_priv->cond, NULL)) { + if (pthread_cond_init(&mc->cond, NULL)) { ret = -1; goto err1; }