commit | b5072ea0910e5c8c79b8313e0ef70ca763983dbf | [log] [tgz] |
---|---|---|
author | Mike Christie <michaelc@cs.wisc.edu> | Mon Oct 16 18:09:42 2006 -0400 |
committer | James Bottomley <jejb@mulgrave.il.steeleye.com> | Wed Oct 25 15:14:05 2006 -0700 |
tree | 518228880851f5067553543bca314fa96436168d | |
parent | 5831c737f724aa6a655a908d202221f079f30036 [diff] |
[SCSI] libiscsi: fix logout pdu processing According to the iscsi RFC, we cannot send other requests if we have sent a logout pdu. This patch enforces this requirement by blocking the session and suspending the send thread. Userspace decides if we restart the connection or if we just free everything. Signed-off-by: Mike Christie <michaelc@cs.wisc.edu> Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>