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

Or Gerlitz ogerlitz at voltaire.com
Thu Dec 28 02:10:02 PST 2006


Jack Morgenstein wrote:
> 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);
> 	}

OK, Jack I see now that your patch fixing this was committed by Linus on 
Nov 2005 
(http://kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=f4e401562c11c7ca65592ebd749353cf0b19af7b)

Or.





More information about the general mailing list