Re: [PATCH net] net: mangle zero checksum in skb_checksum_help()

2016-10-31 Thread David Miller
From: Eric Dumazet Date: Sat, 29 Oct 2016 11:02:36 -0700 > From: Eric Dumazet > > Sending zero checksum is ok for TCP, but not for UDP. > > UDPv6 receiver should by default drop a frame with a 0 checksum, > and UDPv4 would not verify the checksum

Re: [PATCH net] net: mangle zero checksum in skb_checksum_help()

2016-10-29 Thread Maciej Żenczykowski
Acked-by: Maciej Żenczykowski

[PATCH net] net: mangle zero checksum in skb_checksum_help()

2016-10-29 Thread Eric Dumazet
From: Eric Dumazet Sending zero checksum is ok for TCP, but not for UDP. UDPv6 receiver should by default drop a frame with a 0 checksum, and UDPv4 would not verify the checksum and might accept a corrupted packet. Simply replace such checksum by 0x, regardless of