]> 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)
commita1983d68bd1fb3628d874f20a6fc0d81688b7214
treede442588027c3bc6129745f22090a0237370f3d2
parenta2531162608a565e021c7ab6ba95340c7ad80c81
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