diff options
Diffstat (limited to 'drivers/scsi/iscsi_tcp.c')
-rw-r--r-- | drivers/scsi/iscsi_tcp.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/scsi/iscsi_tcp.c b/drivers/scsi/iscsi_tcp.c index b3e5e08e44ab..b7c092d63bbe 100644 --- a/drivers/scsi/iscsi_tcp.c +++ b/drivers/scsi/iscsi_tcp.c | |||
@@ -463,7 +463,7 @@ static int iscsi_sw_tcp_pdu_init(struct iscsi_task *task, | |||
463 | } | 463 | } |
464 | 464 | ||
465 | if (err) { | 465 | if (err) { |
466 | iscsi_conn_failure(conn, err); | 466 | /* got invalid offset/len */ |
467 | return -EIO; | 467 | return -EIO; |
468 | } | 468 | } |
469 | return 0; | 469 | return 0; |
@@ -851,6 +851,7 @@ static struct scsi_host_template iscsi_sw_tcp_sht = { | |||
851 | .use_clustering = DISABLE_CLUSTERING, | 851 | .use_clustering = DISABLE_CLUSTERING, |
852 | .slave_alloc = iscsi_sw_tcp_slave_alloc, | 852 | .slave_alloc = iscsi_sw_tcp_slave_alloc, |
853 | .slave_configure = iscsi_sw_tcp_slave_configure, | 853 | .slave_configure = iscsi_sw_tcp_slave_configure, |
854 | .target_alloc = iscsi_target_alloc, | ||
854 | .proc_name = "iscsi_tcp", | 855 | .proc_name = "iscsi_tcp", |
855 | .this_id = -1, | 856 | .this_id = -1, |
856 | }; | 857 | }; |