2
0
mirror of https://github.com/xcat2/xNBA.git synced 2026-05-01 00:47:45 +00:00
Files
xNBA/src/net
Michael Brown 19c59bb131 [iscsi] Ensure ISID is consistent within an iSCSI session
Commit 5f4ab0d ("[iscsi] Randomise a portion of the ISID to force new
session instantiation") introduced a regression by randomising the
ISID on each call to iscsi_start_login(), which may be called more
than once per connection, rather than on each call to
iscsi_open_connection(), which is guaranteed to be called only once
per connection.  This is incorrect behaviour that causes our
connection to be rejected by some iSCSI targets (observed with a
COMSTAR target under OpenSolaris).

Fix by generating the ISID in iscsi_open_connection(), and storing the
randomised ISID as part of the session state.

Signed-off-by: Michael Brown <mcb30@ipxe.org>
2010-10-18 14:40:27 +01:00
..
2010-04-19 23:43:39 +01:00
2010-04-19 23:43:39 +01:00
2010-04-19 23:43:39 +01:00
2010-04-19 23:43:39 +01:00
2010-04-19 23:43:39 +01:00
2010-04-19 23:43:39 +01:00
2010-04-19 23:43:39 +01:00
2010-04-19 23:43:39 +01:00
2010-04-19 23:43:39 +01:00
2010-04-19 23:43:39 +01:00
2010-06-23 01:01:32 +01:00