Thread (10 messages) flat view 10 messages, 3 authors, 2016-09-06

Re: [PATCH v3] net: macb: initialize checksum when using checksum offloading

From: David Miller <davem@davemloft.net>
Date: 2016-09-06 20:44:01

From: Helmut Buchsbaum <redacted>
Date: Sun,  4 Sep 2016 18:09:47 +0200
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 <redacted>
Applied.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help