diff options
author | Helmut Buchsbaum <helmut.buchsbaum@gmail.com> | 2016-09-04 19:09:47 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-09-06 23:43:39 +0300 |
commit | 007e4ba3ee137f4700f39aa6dbaf01a71047c5f6 (patch) | |
tree | 0514552489d077fa1b0c493c3bc6b5919fcc2261 /drivers/watchdog/w83977f_wdt.c | |
parent | 03c2778a938aaba0893f6d6cdc29511d91a79848 (diff) | |
download | linux-007e4ba3ee137f4700f39aa6dbaf01a71047c5f6.tar.xz |
net: macb: initialize checksum when using checksum offloading
I'm still struggling to get this fix right..
Changes since v2:
- do not blindly modify SKB contents according to Dave's legitimate
objection
Changes since v1:
- dropped disabling HW checksum offload for Zynq
- initialize checksum similar to net/ethernet/freescale/fec_main.c
-- >8 --
MACB/GEM needs the checksum field initialized to 0 to get correct
results on transmit in all cases, e.g. on Zynq, UDP packets with
payload <= 2 otherwise contain a wrong checksums.
Signed-off-by: Helmut Buchsbaum <helmut.buchsbaum@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/watchdog/w83977f_wdt.c')
0 files changed, 0 insertions, 0 deletions