atl1: deal with hardware rx checksum bug
authorJay Cliburn <jacliburn@bellsouth.net>
Tue, 5 Aug 2008 00:05:10 +0000 (19:05 -0500)
committerJeff Garzik <jgarzik@redhat.com>
Thu, 7 Aug 2008 05:54:57 +0000 (01:54 -0400)
commitc2ac3ef35c44195ca2b9c29275c7c6830eb2d9aa
tree448f9d1395dc415dbf752d2564626cd3cbc10ed9
parentf0f422e5735ba9f48039aa7dd4c9daa16b996c2c
atl1: deal with hardware rx checksum bug

The L1 hardware contains a bug that flags a fragmented IP packet
as having an incorrect TCP/UDP checksum, even though the packet
is perfectly valid and its checksum is correct.  There's no way to
distinguish between one of these good packets and a packet that
actually contains a TCP/UDP checksum error, so all we can do is
allow the packet to be handed up to the higher layers and let it
be sorted out there.

Add a comment describing this condition and remove the code that
currently fails to handle what may or may not be a checksum error.

Signed-off-by: Jay Cliburn <jacliburn@bellsouth.net>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/net/atlx/atl1.c