netdev: bfin_mac: disable hardware checksum if writeback cache is enabled
authorSonic Zhang <sonic.zhang@analog.com>
Mon, 10 Jan 2011 02:54:33 +0000 (02:54 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 10 Jan 2011 21:31:13 +0000 (13:31 -0800)
commit2d70a3d42de642e1d78355338b63cf064dc0f345
tree74bf34d7545150b3716671e70a6b12e6faef3927
parent53ed29841dfffa71c68e5cd3e601da195235ff5b
netdev: bfin_mac: disable hardware checksum if writeback cache is enabled

With writeback caches, corrupted RX packets will be sent up the stack
without any error markings.

Signed-off-by: Sonic Zhang <sonic.zhang@analog.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/bfin_mac.h