On Tue, Feb 08, 2022 at 03:16:42PM -0600, Bob Pearson wrote: > Well behaved applications will free all memory allocated by multicast > but programs which do not clean up properly can leave behind allocated > memory when the rxe driver is unloaded. This patch walks the red-black > tree holding multicast group elements and then walks the list of attached > qp's freeing the mca's and finally the mcg's. How does this happen? the ib core ensures that all uobjects are destroyed, so if something is still in the rb tree here it means that an earlier uobject destruction leaked it Jason