diff options
author | Mike Christie <michaelc@cs.wisc.edu> | 2006-07-24 16:47:45 -0400 |
---|---|---|
committer | James Bottomley <jejb@mulgrave.il.steeleye.com> | 2006-07-28 12:49:50 -0400 |
commit | 40527afea1a3b18ee5754e17d6f807176e03f1f2 (patch) | |
tree | 940bc089d28a5fe37ea2bae4b5532b090d9598e3 /drivers/scsi/iscsi_tcp.c | |
parent | c8dc1e523b0f1e6dd71cdabd8c7d7587c6dc27f9 (diff) |
[SCSI] iscsi bugfixes: pass errors from complete_pdu to caller
Must pass ISCSI_ERR values from the recv path and propogate them
upwards.
Signed-off-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/scsi/iscsi_tcp.c')
-rw-r--r-- | drivers/scsi/iscsi_tcp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/iscsi_tcp.c b/drivers/scsi/iscsi_tcp.c index aa20adc79f02..33534f686434 100644 --- a/drivers/scsi/iscsi_tcp.c +++ b/drivers/scsi/iscsi_tcp.c | |||
@@ -885,7 +885,7 @@ more: | |||
885 | } | 885 | } |
886 | tcp_conn->in_progress = IN_PROGRESS_DATA_RECV; | 886 | tcp_conn->in_progress = IN_PROGRESS_DATA_RECV; |
887 | } else if (rc) { | 887 | } else if (rc) { |
888 | iscsi_conn_failure(conn, ISCSI_ERR_CONN_FAILED); | 888 | iscsi_conn_failure(conn, rc); |
889 | return 0; | 889 | return 0; |
890 | } | 890 | } |
891 | } | 891 | } |