[openib-general] No resource tracking per qp for multicast groups

Jack Morgenstein jackm at dev.mellanox.co.il
Thu Dec 28 00:09:32 PST 2006


On Wednesday 27 December 2006 22:00, Sean Hefty wrote:
> I do not know if this problem was solved however.
> 
The problem was solved in ofed 1.1.  See file core/uverbs_main.c, 
procedure ib_uverbs_cleanup_ucontext():

	list_for_each_entry_safe(uobj, tmp, &context->qp_list, list) {
		struct ib_qp *qp = uobj->object;
		struct ib_uqp_object *uqp =
			container_of(uobj, struct ib_uqp_object, uevent.uobject);

		idr_remove_uobj(&ib_uverbs_qp_idr, uobj);
-->		ib_uverbs_detach_umcast(qp, uqp);
		ib_destroy_qp(qp);
		ib_uverbs_release_uevent(file, &uqp->uevent);
		kfree(uqp);
	}

- Jack




More information about the general mailing list