[PATCH] scsi: libiscsi: fix taskqueuelock usage in __iscsi_conn_send_pdu

2018-05-11 Thread Christopher Unkel
nt for the safety of using spin_lock applies. The improper usage of spin_lock_bh/spin_unlock_bh inside of spin_lock_irq may cause deadlocks involving queue_lock or frwd_lock when a softirq runs at or after spin_unlock_bh. Signed-off-by: Christopher Unkel --- drivers/scsi/libiscsi.c | 4 ++-- 1 fi

locking bug in __iscsi_conn_send_pdu

2018-05-11 Thread Christopher Unkel
Hello All, I've been trying to track down the cause of some soft lockups with call traces involving the iscsi initiator. I believe I have found a locking error in __iscsi_conn_send_pdu that is responsible. A previous commit (4fa507992f0a ("scsi: libiscsi: Fix locking in __iscsi_conn_send_pdu") c