Skip to content
Commit fe0cd8ca authored by Nisar Sayed's avatar Nisar Sayed Committed by David S. Miller
Browse files

smsc95xx: Support only IPv4 TCP/UDP csum offload



When TX checksum offload is used, if the computed checksum is 0 the
LAN95xx device do not alter the checksum to 0xffff.  In the case of ipv4
UDP checksum, it indicates to receiver that no checksum is calculated.
Under ipv6, UDP checksum yields a result of zero must be changed to
0xffff. Hence disabling checksum offload for ipv6 packets.

Signed-off-by: default avatarNisar Sayed <Nisar.Sayed@microchip.com>

Reported-by: default avatarpopcorn mix <popcornmix@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 776ee323
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment