[openib-general] Processes not exiting on SVN7946

Arlin Davis ardavis at ichips.intel.com
Thu Jun 15 16:04:40 PDT 2006


Roland Dreier wrote:

>OK, just a dumb oversight on my part.  The change below (already
>checked in) fixes it for me:
>
>--- infiniband/core/uverbs_cmd.c	(revision 8055)
>+++ infiniband/core/uverbs_cmd.c	(working copy)
>@@ -1123,6 +1123,12 @@ ssize_t ib_uverbs_create_qp(struct ib_uv
> 		goto err_copy;
> 	}
> 
>+	put_pd_read(pd);
>+	put_cq_read(scq);
>+	put_cq_read(rcq);
>+	if (srq)
>+		put_srq_read(srq);
>+
> 	mutex_lock(&file->mutex);
> 	list_add_tail(&obj->uevent.uobject.list, &file->ucontext->qp_list);
> 	mutex_unlock(&file->mutex);
>
>  
>

Works for me too. Thanks!

-arlin




More information about the general mailing list