On Fri, Nov 29, 2024 at 12:30:37PM +0100, Zhu Yanjun wrote: > When pd pool is not empty, it seems that at least one pd is not removed when > rdma link is removed. The caller should check the application to remove this > pd before a rdma link is removed. The bug is that this somehow happened, I think. There should be refcounts preventing removal of an ib device while a client is attached Or, perhaps more likely, it is a pd leak on an error path. Jason