On Fri, 2016-07-29 at 23:33 +0300, Sagi Grimberg wrote: > > > > When the low level driver exercises the hot unplug they would call > > rdma_cm cma_remove_one which would fire DEVICE_REMOVAL event to all > > cma > > consumers. Now, if consumer doesn't make sure they destroy all IB > > objects created on that IB device instance prior to finalizing all > > processing of DEVICE_REMOVAL callback, rdma_cm will let the lld to > > de-register with IB core and destroy the IB device instance. And if > > the > > consumer calls (say) ib_dereg_mr(), it will crash since that dev > > object > > is NULL. > > Yea... this used to work but sort of broke somewhere... > > Thanks Raju, the patch looks good, > > Acked-by: Sagi Grimberg <sagi@xxxxxxxxxxx> > > Doug, > > Can you add a stable tag to this when picking it up? > I can add a stable tag, but it helps to know what versions of stable it is expected to apply to. -- Doug Ledford <dledford@xxxxxxxxxx> GPG KeyID: 0E572FDD
Attachment:
signature.asc
Description: This is a digitally signed message part