commit | ea6499e160a74ea813e53e7bef2ccb22df1e4929 | [log] [tgz] |
---|---|---|
author | Hayes Wang <hayeswang@realtek.com> | Fri Feb 02 16:43:35 2018 +0800 |
committer | David S. Miller <davem@davemloft.net> | Fri Feb 02 19:19:00 2018 -0500 |
tree | cd6613a0e4a81bd4b2b06535db625b11824e123c | |
parent | 1d8ef0c07664dc48f2ff19a90b62dd3f6f425547 [diff] |
r8152: fix wrong checksum status for received IPv4 packets The device could only check the checksum of TCP and UDP packets. Therefore, for the IPv4 packets excluding TCP and UDP, the check of checksum is necessary, even though the IP checksum is correct. Take ICMP for example, The IP checksum may be correct, but the ICMP checksum may be wrong. Signed-off-by: Hayes Wang <hayeswang@realtek.com> Signed-off-by: David S. Miller <davem@davemloft.net>