]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
be2iscsi 4.1.239.0 [PATCH 10/10] Fix in the ASYNC PDU handling code path.
authorChuck Anderson <chuck.anderson@oracle.com>
Sat, 17 Dec 2011 04:09:11 +0000 (20:09 -0800)
committerChuck Anderson <chuck.anderson@oracle.com>
Sat, 17 Dec 2011 04:09:11 +0000 (20:09 -0800)
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 <chuck.anderson@oracle.com>
drivers/scsi/be2iscsi/be_main.c

index ba041420113bc1e24f900bedc23d545fe718c07c..5a89328a7f2357039ba47e231d4ec85dec7ad8fe 100644 (file)
@@ -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);