On Mon, 2017-12-18 at 22:37 -0500, Martin K. Petersen wrote: > Hannes, > > > As it turned out device_get() doesn't use kref_get_unless_zero(), > > so we will be always getting a device pointer. > > So we need to check for the device state in __scsi_remove_target() > > to avoid tripping over deleted objects. > > Applied to 4.15/scsi-fixes. Thanks! Hello Martin, Since that patch fixes an issue that was introduced in kernel v4.14 but did not have a "Cc: stable" tag, should this patch be sent to Greg for inclusion in the kernel v4.14.x series? Thanks, Bart.