[openib-general] Processes not exiting on SVN7946

Roland Dreier rdreier at cisco.com
Thu Jun 15 15:13:12 PDT 2006


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




More information about the general mailing list