]> err.no Git - linux-2.6/commit
[SCSI] libiscsi: fix logout pdu processing
authorMike Christie <michaelc@cs.wisc.edu>
Mon, 16 Oct 2006 22:09:42 +0000 (18:09 -0400)
committerJames Bottomley <jejb@mulgrave.il.steeleye.com>
Wed, 25 Oct 2006 22:14:05 +0000 (15:14 -0700)
commitb5072ea0910e5c8c79b8313e0ef70ca763983dbf
tree518228880851f5067553543bca314fa96436168d
parent5831c737f724aa6a655a908d202221f079f30036
[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>
drivers/scsi/libiscsi.c