diff options
author | Dave Graham <david.graham@intel.com> | 2008-10-09 14:28:58 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-10-09 14:28:58 -0700 |
commit | af807c82978ec1b8c5120b59b78ef951b3e4603b (patch) | |
tree | 5641d4f8c4a5117deeba86d5171d431c439e5367 /drivers/ata/libata-acpi.c | |
parent | ec7e6fabbe72f1fe65eed14c106a0fbc00f6c2f1 (diff) |
e1000e: don't generate bad checksums for tcp packets with 0 csum
When offloading transmit checksums only, the driver was not
correctly configuring the hardware to handle the case of a zero
checksum. For UDP the correct behavior is to leave it alone, but
for tcp the checksum must be changed from 0x0000 to 0xFFFF. The
hardware takes care of this case but only if it is told the
packet is tcp.
Signed-off-by: Dave Graham <david.graham@intel.com>
Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/ata/libata-acpi.c')
0 files changed, 0 insertions, 0 deletions