summaryrefslogtreecommitdiffstats
path: root/drivers/net/ac3200.c
diff options
context:
space:
mode:
authorLennert Buytenhek <buytenh@wantstofly.org>2008-09-19 04:05:00 +0200
committerLennert Buytenhek <buytenh@marvell.com>2008-09-19 05:13:31 +0200
commit4df89bd5a5fc33860f15f5f001a78f2b3f150725 (patch)
treeb250546aa4e801a207b1df7acfcf730fa9f426ee /drivers/net/ac3200.c
parent170e7108a368c52df1ec466966fd1db6e45a7ad2 (diff)
mv643xx_eth: deal with unexpected ethernet header sizes
When the IP header doesn't start 14, 18, 22 or 26 bytes into the packet (which are the only four cases that the hardware can deal with if asked to do IP checksumming on transmit), invoke the software checksum helper instead of letting the packet go out with a corrupt checksum inserted into the packet in the wrong place. Signed-off-by: Lennert Buytenhek <buytenh@marvell.com>
Diffstat (limited to 'drivers/net/ac3200.c')
0 files changed, 0 insertions, 0 deletions