Re: rdma_restrack_add/del in uverbs_cmd.c

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



:-)


> On 14 Sep 2019, at 13:55, Leon Romanovsky <leon@xxxxxxxxxx> wrote:
> 
> Take a look in verb.c
> ib_destroy_cq_user()
> 
> On Sat, Sep 14, 2019, 13:23 Håkon Bugge <haakon.bugge@xxxxxxxxxx> wrote:
> Hi,
> 
> Sorry if this question has an obvious answer.
> 
> In uverbs_cmd.c::create_cq(), there is a call to rdma_restrack_add(). I cannot find the parenthetical corresponding rdma_restrack_del(). I do not see it in rdma_core.c nor in uverbs_cmd.c.
> 
> uverbs_destroy_uobject() calls the destroy_hw(), so it bypasses the (in this case)  ib_destroy_cq_user() which would have called rdma_restrack_del().
> 
> I am probably missing something obvious, so my apologies for this noise in advance.
> 
> 
> Thxs, Håkon
> 





[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux