When login fails, leave the session open but not in full feature
authorMichael Brown <mcb30@etherboot.org>
Thu, 21 Dec 2006 17:43:43 +0000 (17:43 +0000)
committerMichael Brown <mcb30@etherboot.org>
Thu, 21 Dec 2006 17:43:43 +0000 (17:43 +0000)
commit6ceb55fad0a95be0fc9926a3f528503c0ec3e506
tree15a245ea296d87fc6e8ba189edc9f4d9a175b7e5
parent024809d4547abac9d065ef1839328eae725ae76b
When login fails, leave the session open but not in full feature
phase.  In iscsi_issue(), detect this state and immediately refuse the
operation.  This avoids trying multiple logins when scsi.c tries
several times to read the drive capacity.
src/net/tcp/iscsi.c