From 4d3b4b65e436d15b73d0651e08ac0203260d4027 Mon Sep 17 00:00:00 2001 From: Chuck Anderson Date: Fri, 16 Dec 2011 20:09:11 -0800 Subject: [PATCH] be2iscsi 4.1.239.0 [PATCH 10/10] Fix in the ASYNC PDU handling code path. Dec. 16, 2011 Oracle bugzilla 13257 Oracle bug 13465921 be2iscsi HBA driver v4.1.239.0 patch set for UEK R2(2.6.39) jayamohan.kallickal@emulex.com Ported driver version 4.1.239.0 to UEK2 2.6.39-100.0.17 (was 2.103.298.0) --- be_main.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) Signed-off-by: Chuck Anderson --- drivers/scsi/be2iscsi/be_main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/scsi/be2iscsi/be_main.c b/drivers/scsi/be2iscsi/be_main.c index ba041420113bc..5a89328a7f235 100644 --- a/drivers/scsi/be2iscsi/be_main.c +++ b/drivers/scsi/be2iscsi/be_main.c @@ -1724,7 +1724,7 @@ hwi_fwd_async_msg(struct beiscsi_conn *beiscsi_conn, } memcpy(pfirst_buffer + offset, pasync_handle->pbuffer, buf_len); - offset = buf_len; + offset += buf_len; } index++; } @@ -1733,7 +1733,7 @@ hwi_fwd_async_msg(struct beiscsi_conn *beiscsi_conn, (beiscsi_conn->beiscsi_conn_cid - phba->fw_config.iscsi_cid_start), phdr, hdr_len, pfirst_buffer, - buf_len); + offset); if (status == 0) hwi_free_async_msg(phba, cri); -- 2.50.1