aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/gcc-plugins
diff options
context:
space:
mode:
authorJitendra Bhivare <[email protected]>2016-10-13 06:38:48 +0000
committerMartin K. Petersen <[email protected]>2016-10-17 17:34:44 +0000
commit4fa507992f0a1063d7326abaf705f9408548349e (patch)
tree4896b7a0375fcf61c935b86e67ba9239b65563d6 /scripts/gcc-plugins
parentscsi: ipr: Fix async error WARN_ON (diff)
downloadkernel-4fa507992f0a1063d7326abaf705f9408548349e.tar.gz
kernel-4fa507992f0a1063d7326abaf705f9408548349e.zip
scsi: libiscsi: Fix locking in __iscsi_conn_send_pdu
The code at free_task label in __iscsi_conn_send_pdu can get executed from blk_timeout_work which takes queue_lock using spin_lock_irq. back_lock taken with spin_unlock_bh will cause WARN_ON_ONCE. The code gets executed either with bottom half or IRQ disabled hence using spin_lock/spin_unlock for back_lock is safe. Signed-off-by: Jitendra Bhivare <[email protected]> Reviewed-by: Hannes Reinecke <[email protected]> Reviewed-by: Chris Leech <[email protected]> Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins')
0 files changed, 0 insertions, 0 deletions