PATCH 1 fixes a possible hang when during a login operation the initiator stops sending data to the target and the login_work doesn't get scheduled. PATCH 3 fixes a bug in iscsi_target_locate_portal(), in the error code path the login semaphore may end up being released even if no one called down() against it, this may allow multiple threads to access the semaphore-protected code. v3: fix the comments' format v2: the login timeout of 15 seconds now is relative to the entire login operation and not per-PDU. Maurizio Lombardi (3): target: iscsi: fix hang in the iSCSI login code target: iscsi: remove unused transport_timer target: iscsi: prevent login threads from racing between each other drivers/target/iscsi/iscsi_target.c | 2 - drivers/target/iscsi/iscsi_target_login.c | 63 ++----------------- drivers/target/iscsi/iscsi_target_nego.c | 74 +++++++++++++---------- drivers/target/iscsi/iscsi_target_util.c | 51 ++++++++++++++++ drivers/target/iscsi/iscsi_target_util.h | 4 ++ include/target/iscsi/iscsi_target_core.h | 7 ++- 6 files changed, 106 insertions(+), 95 deletions(-) -- 2.31.1