Hi, We encountered "iSCSI Login negotiation failed" several times. After enable debug log in iscsi_target_nego.c of iSCSI target. Error shows: "Got LOGIN_FLAGS_READ_ACTIVE=1, conn: xxxxxxxxxx >>>>" Patch 1 is trying to fix this problem. Please see comment in patch 1 for details. Changes from v3: * Fix style problem found by checkpatch.pl. Changes from v2: * Improve comments in patch #1. * Change bit possition of login_flags in patch #1. Hou Pu (2): iscsi-target: fix login error when receiving is too fast iscsi-target: Fix inconsistent debug message in __iscsi_target_sk_check_close drivers/target/iscsi/iscsi_target_nego.c | 31 ++++++++++++++++++++++++++----- include/target/iscsi/iscsi_target_core.h | 9 +++++---- 2 files changed, 31 insertions(+), 9 deletions(-) -- 2.11.0