Hello Dashi,
On Tue, May 09, 2017 at 09:08:14AM +, Dashi DS1 Cao wrote:
> When debugging a race condition in scsi_remove_target of 3.12, I ran into
> this possible bug within scsi_alloc_target.
> When an existing "struct scsi_target" is found and used, the starget just got
> through kzmalloc
When debugging a race condition in scsi_remove_target of 3.12, I ran into this
possible bug within scsi_alloc_target.
When an existing "struct scsi_target" is found and used, the starget just got
through kzmalloc should be freed, rather than dong a "put_device(dev)".
diff --git a/drivers/scsi/sc
2 matches
Mail list logo