aboutsummaryrefslogtreecommitdiffstats
path: root/include/scsi
diff options
context:
space:
mode:
authorDouglas Gilbert <dgilbert@interlog.com>2014-08-31 19:09:59 -0400
committerChristoph Hellwig <hch@lst.de>2014-09-30 09:34:37 +0200
commitdb525fce95f0ee39102f06f8599ced3f3f3af128 (patch)
tree104a30ca4d06b3d62234a06007e192ff4ecc3fdb /include/scsi
parentbe2iscsi: check ip buffer before copying (diff)
downloadlinux-dev-db525fce95f0ee39102f06f8599ced3f3f3af128.tar.xz
linux-dev-db525fce95f0ee39102f06f8599ced3f3f3af128.zip
scsi_debug: deadlock between completions and surprise module removal
A deadlock has been reported when the completion of SCSI commands (simulated by a timer) was surprised by a module removal. This patch removes one half of the offending locks around timer deletions. This fix is applied both to stop_all_queued() which is were the deadlock was discovered and stop_queued_cmnd() which has very similar logic. This patch should be applied both to the lk 3.17 tree and Christoph's drivers-for-3.18 tree. Tested-and-reported-by: Milan Broz <gmazyland@gmail.com> Signed-off-by: Douglas Gilbert <dgilbert@interlog.com> Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'include/scsi')
0 files changed, 0 insertions, 0 deletions