diff options
author | Don Skidmore <donald.c.skidmore@intel.com> | 2009-02-21 15:42:56 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-02-21 15:42:56 -0800 |
commit | 54037505a5278ce85df66531f384109ad94947e3 (patch) | |
tree | 392180002bbc3b399881332d8bf2232a2c3fa274 /crypto/rmd320.c | |
parent | cd4d8fdad1f13205c769266dfa99015e226b6e07 (diff) |
ixgbe: fix for 82598 Si errata causing buffer overflow
The failure happens when an interrupt occurs and the driver is reading
EICR. This read will cause a clear-by-read which leads to two TLP
being inserted in the PCIe retry buffer leading to an overflow of the
buffer and corruption of TLPs.
The solution is different depending where the reading of EICR takes place.
For ixgbe_msix_lsc() since we are in MSIX mode and know OCD is enabled a
clear-by-write is done instead of the normal clear-by-read.
For ixgbe_intr() 0xffffffff is written to EIMC before the read, masking the
interrupts.
Signed-off-by: Don Skidmore <donald.c.skidmore@intel.com>
Acked-by: Peter P Waskiewicz Jr <peter.p.waskiewicz.jr@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'crypto/rmd320.c')
0 files changed, 0 insertions, 0 deletions