]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
r8152: fix r8152_csum_workaround function
authorhayeswang <hayeswang@realtek.com>
Fri, 11 Jul 2014 08:48:27 +0000 (16:48 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 28 Jul 2014 15:08:25 +0000 (08:08 -0700)
commitc7cd70207d5e4899cf2f4fde8e41e1b5892fc501
tree98ca51dafe5552f867cf900493f1727036dde2f2
parent4ede81d69903e1f8f3ba6dff921ca819dbdc5029
r8152: fix r8152_csum_workaround function

[ Upstream commit a91d45f1a343188793d6f2bdf1a72c64015a8255 ]

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/usb/r8152.c