Re: [PATCH] libata: add refcounting to ata_host

2018-03-13 Thread Tejun Heo
On Fri, Mar 09, 2018 at 08:34:41AM +, Taras Kondratiuk wrote: > After commit 9a6d6a2ddabb ("ata: make ata port as parent device of scsi > host") manual driver unbind/remove causes use-after-free. > > Unbind unconditionally invokes devres_release_all() which calls > ata_host_release() and

Re: [PATCH] libata: add refcounting to ata_host

2018-03-13 Thread Tejun Heo
On Fri, Mar 09, 2018 at 08:34:41AM +, Taras Kondratiuk wrote: > After commit 9a6d6a2ddabb ("ata: make ata port as parent device of scsi > host") manual driver unbind/remove causes use-after-free. > > Unbind unconditionally invokes devres_release_all() which calls > ata_host_release() and