diff options
author | Jesse Brandeburg <jesse.brandeburg@intel.com> | 2010-03-05 03:21:44 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-03-05 23:00:18 +0100 |
commit | a80483d3722b603dae8a52495f8d88a7d4b1bf1c (patch) | |
tree | 06496263f5f2f7bb75a154f892c0b4f0277f15e9 /drivers/net/e1000e/defines.h | |
parent | typhoon: fix incorrect use of smp_wmb() (diff) | |
download | linux-a80483d3722b603dae8a52495f8d88a7d4b1bf1c.tar.xz linux-a80483d3722b603dae8a52495f8d88a7d4b1bf1c.zip |
e1000e: fix packet corruption and tx hang during NFSv2
when receiving a particular type of NFS v2 UDP traffic, the hardware could
DMA some bad data and then hang, possibly corrupting memory.
Disable the NFS parsing in this hardware, verified to fix the bug.
Originally reported and reproduced by RedHat's Neil Horman
CC: nhorman@tuxdriver.com
Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Acked-by: Neil Horman <nhorman@tuxdriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/e1000e/defines.h')
-rw-r--r-- | drivers/net/e1000e/defines.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/e1000e/defines.h b/drivers/net/e1000e/defines.h index db05ec355749..e301e26d6897 100644 --- a/drivers/net/e1000e/defines.h +++ b/drivers/net/e1000e/defines.h @@ -320,6 +320,8 @@ #define E1000_RXCSUM_IPPCSE 0x00001000 /* IP payload checksum enable */ /* Header split receive */ +#define E1000_RFCTL_NFSW_DIS 0x00000040 +#define E1000_RFCTL_NFSR_DIS 0x00000080 #define E1000_RFCTL_ACK_DIS 0x00001000 #define E1000_RFCTL_EXTEN 0x00008000 #define E1000_RFCTL_IPV6_EX_DIS 0x00010000 |