Re: [PATCH] scsi: check for device state in __scsi_remove_target()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.





[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]

  Powered by Linux