On 12-12-13 04:00 AM, Ewan D. Milne wrote:
From: "Ewan D. Milne" <[email protected]>
The module unload path in scsi_debug was calling del_timer_sync() with the
queued_arr_lock held. The timer_intr_handler() function also takes this lock,
so if it executes as the timer is being removed, the kernel would deadlock.
Also changed to complete all queued commands if scsi_debug is unloaded instead
of discarding them, because the requests would eventually timeout after the
module was gone.
Signed-off-by: Ewan D. Milne <[email protected]>
Acked-by: Douglas Gilbert <[email protected]>
--
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html