Re: [PATCH] RDMA: don't ignore client->add() failures

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

 



On 2023/03/30 0:44, Jason Gunthorpe wrote:
>> The caller of ib_register_device() (i.e. siw_device_register() from
>> siw_newlink()) is assuming that somebody will call __ib_unregister_device(),
>> but nobody is calling __ib_unregister_device().
> 
> On the success path this stuff happens during dellink
> 

"struct rdma_link_ops" has "newlink" callback but does not have "dellink" callback.
"struct rtnl_link_ops" has both "newlink" callback and "dellink" callback, but
only ipoib_netlink.c defines it inside drivers/infiniband/ directory.

Where is the dellink you are talking about?
I'm not familiar with rdma code. Please explain using specific function/symbol names.




[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