]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit73fb18749f50a6a035d217117914eeabefbf535d
treede442588027c3bc6129745f22090a0237370f3d2
parent17b7b88c267542f7b725600af166a490b3eddf85
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