Krishna Kumar wrote:
>       struct rdma_id_private *id_priv;
> +     int did_acquire_dev = 0;

See my other mail that gets rid of this flag.

> @@ -1776,6 +1778,8 @@ int rdma_bind_addr(struct rdma_cm_id *id
>  
>       return 0;
>  err:
> +     if (did_acquire_dev)
> +             cma_detach_from_dev(id_priv);

We need to lock around cma_detach_from_dev().

- Sean

_______________________________________________
openib-general mailing list
[email protected]
http://openib.org/mailman/listinfo/openib-general

To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general

Reply via email to