Re: Manual unbind of ATA devices causes use-after-free

From: Tejun Heo
Date: Mon Nov 13 2017 - 15:10:48 EST


Hello,

On Mon, Nov 13, 2017 at 12:09:27PM -0800, Taras Kondratiuk wrote:
> > cc'ing Lin. Lin, can you take a look at this?
>
> I'm ready to test whenever you have something. If you don't have time to
> look at this then can you recommend a proper way to fix it. Is it better
> to change device hierarchy back to previous state (revert 9a6d6a2ddabb)
> or add reference counting to ata_host?

We'll have to add refcnting to ata_host.

Thanks.

--
tejun