On Thu, Jul 06, 2017 at 10:51:36AM +0300, Sagi Grimberg wrote: > > ib_clients can indeed fill .add to NULL, but then they will not see > > any device removal notifications. The reason is that that > > ib_register_client and ib_register_device checked existence of .add > > before adding the creating a corresponding client_data and adding > > it to the list. Simple condition reverse fixes the issue. > > > > Reviewed-by: Johannes Thumshirn > > Reviewed-by: Christoph Hellwig > > Signed-off-by: Sagi Grimberg > > Any RDMA folks? It looks right and two gentlemen above already reviewed it. Thanks, Reviewed-by: Leon Romanovsky