Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 316616 Details for
Bug 462117
[QLogic 5.3 bug] qla2xxx - Additional residual-count corrections during UNDERRUN handling.
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
data underrun correction
qla2xxx_rhel5.3_underrun_patch10.txt (text/plain), 1.31 KB, created by
Marcus Barrow
on 2008-09-12 19:38:29 UTC
(
hide
)
Description:
data underrun correction
Filename:
MIME Type:
Creator:
Marcus Barrow
Created:
2008-09-12 19:38:29 UTC
Size:
1.31 KB
patch
obsolete
> >BZ 462117 - qla2xxx: Additional residual-count corrections during UNDERRUN handling. > >This is a back port of a critical patch currently being submitted upstream. > >It is a very simple 3 line fix to a problem reported by a major OEM. > >This is been verified both via FW simulation of the FCP_RSP packet as >well as tested within the lab with a FC-jammer. It was also verified to fix >the original problem reported. > >Add additional tightening of residual-count handling (originally >from commit 6acf8190025e9c4ea513d4084ff089d476112816) where the >driver should discard any lower SCSI-status during >firmware/transport residual-count mismatches. >--- > drivers/scsi/qla2xxx/qla_isr.c | 5 +++-- > 1 files changed, 3 insertions(+), 2 deletions(-) > >diff --git a/drivers/scsi/qla2xxx/qla_isr.c b/drivers/scsi/qla2xxx/qla_isr.c >index 09b7c0c..4106c90 100644 >--- a/drivers/scsi/qla2xxx/qla_isr.c >+++ b/drivers/scsi/qla2xxx/qla_isr.c >@@ -1048,8 +1048,9 @@ qla2x00_status_entry(scsi_qla_host_t *ha > resid = resid_len; > /* Use F/W calculated residual length. */ > if (IS_FWI2_CAPABLE(ha)) { >- if (scsi_status & SS_RESIDUAL_UNDER && >- resid != fw_resid_len) { >+ if (!(scsi_status & SS_RESIDUAL_UNDER)) { >+ lscsi_status = 0; >+ } else if (resid != fw_resid_len) { > scsi_status &= ~SS_RESIDUAL_UNDER; > lscsi_status = 0; > } >-- >1.4.4.1 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 462117
: 316616