diff options
author | Lennert Buytenhek <buytenh@wantstofly.org> | 2008-09-19 02:58:50 +0200 |
---|---|---|
committer | Lennert Buytenhek <buytenh@marvell.com> | 2008-09-19 04:47:59 +0200 |
commit | 170e7108a368c52df1ec466966fd1db6e45a7ad2 (patch) | |
tree | 8bfe62f00a3fda957ca22b8a561d4c977ea91719 /drivers/net/hp-plus.c | |
parent | 457b1d5a4b7b8c2b3b6bd032098da600c50dd6b2 (diff) | |
download | linux-170e7108a368c52df1ec466966fd1db6e45a7ad2.tar.bz2 |
mv643xx_eth: fix receive checksumming
We have to explicitly tell the hardware to include the pseudo-header
when doing receive checksumming, otherwise hardware checksumming will
fail for every received packet and we'll end up setting CHECKSUM_NONE
on every received packet.
While we're at it, when skb->ip_summed is set to CHECKSUM_UNNECESSARY
on received packets, skb->csum is supposed to be undefined, and thus
there is no need to set it.
Signed-off-by: Lennert Buytenhek <buytenh@marvell.com>
Diffstat (limited to 'drivers/net/hp-plus.c')
0 files changed, 0 insertions, 0 deletions