GRETH: avoid overwrite IP-stack's IP-frags checksum
commitd706f00f65146822c0097b796b3557ea8980c305
authorDaniel Hellstrom <daniel@gaisler.com>
Fri, 9 Sep 2011 05:17:54 +0000 (9 05:17 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 20 Sep 2011 19:16:16 +0000 (20 15:16 -0400)
tree59766229bebcaaccfc0a4b8633ec4dee0dba0e5a
parent6af29a963cecf426966d56935d60a984bd5594ea
GRETH: avoid overwrite IP-stack's IP-frags checksum

The GRETH GBIT core does not do checksum offloading for IP
segmentation. This patch adds a check in the xmit function to
determine if the stack has calculated the checksum for us.

Signed-off-by: Daniel Hellstrom <daniel@gaisler.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/greth.c