jme: Tuning rxsum function
authorGuo-Fu Tseng <cooldavid@cooldavid.org>
Mon, 6 Jul 2009 04:41:22 +0000 (04:41 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 6 Jul 2009 20:05:11 +0000 (13:05 -0700)
commitce7d70af2c8b9c74e8afb2c0d69e304d141ce4aa
tree8e463f11f68e7b7087942488e4e455d447b52672
parentd1dfa1d1de855e8db58ec4e403af5939d273f8fe
jme: Tuning rxsum function

1. Use more efficient way to determine flag status.
2. Hardware dose not mark fragment bit against IPv6 packets,
   print TCP/UDP checksum warning message for IPv4 packets
   only.

Signed-off-by: Guo-Fu Tseng <cooldavid@cooldavid.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/jme.c