Re: [PATCH net] net: udp: fix handling of CHECKSUM_COMPLETE packets

2018-10-11 Thread Eric Dumazet
On 10/11/2018 11:30 AM, Sean Tranchetti wrote: > Current handling of CHECKSUM_COMPLETE packets by the UDP stack is > incorrect for any packet that has an incorrect checksum value. > > udp4/6_csum_init() will both make a call to > __skb_checksum_validate_complete() to initialize/validate the

[PATCH net] net: udp: fix handling of CHECKSUM_COMPLETE packets

2018-10-11 Thread Sean Tranchetti
Current handling of CHECKSUM_COMPLETE packets by the UDP stack is incorrect for any packet that has an incorrect checksum value. udp4/6_csum_init() will both make a call to __skb_checksum_validate_complete() to initialize/validate the csum field when receiving a CHECKSUM_COMPLETE packet. When