r8152: fix r8152_csum_workaround function
authorhayeswang <hayeswang@realtek.com>
Fri, 11 Jul 2014 08:48:27 +0000 (16:48 +0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 11 Jul 2014 21:51:21 +0000 (14:51 -0700)
commita91d45f1a343188793d6f2bdf1a72c64015a8255
treede442588027c3bc6129745f22090a0237370f3d2
parent4cad9f3b61c7268fa89ab8096e23202300399b5d
r8152: fix r8152_csum_workaround function

The transport offset of the IPv4 packet should be fixed and wouldn't
be out of the hw limitation, so the r8152_csum_workaround() should
be used for IPv6 packets.

Signed-off-by: Hayes Wang <hayeswang@realtek.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/usb/r8152.c