[SCSI] iscsi_tcp: add new conn error to indicate tcp conn closed
authorMike Christie <michaelc@cs.wisc.edu>
Thu, 20 Aug 2009 20:11:02 +0000 (15:11 -0500)
committerJames Bottomley <James.Bottomley@suse.de>
Sat, 5 Sep 2009 14:42:47 +0000 (09:42 -0500)
commitd1af8a328755f51c9b76157a8692e56520d3fd94
tree36abdfc44e548134d3a51feff45e3c85591d76d8
parent632248aab3170004e24512a4378fc6d9d7f3b4ac
[SCSI] iscsi_tcp: add new conn error to indicate tcp conn closed

If a target closed the connection, we will detect it in the
state_changed or data_ready callout. This adds a new conn
error value to use for this problem, so it is not confused
with when the initiator throws a conn error and drops
the connection.

Signed-off-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
drivers/scsi/iscsi_tcp.c
include/scsi/iscsi_if.h