Re: [PATCH v2] tcp: fix wrong checksum calculation on MTU probing

2016-09-22 Thread Sergei Shtylyov
Hello. On 9/21/2016 9:26 PM, Douglas Caetano dos Santos wrote: With TCP MTU probing enabled and offload TX checksumming disabled, tcp_mtu_probe() calculated the wrong checksum when a fragment being copied into the probe's SKB had an odd length. This was caused by the direct use of skb_copy_and_

[PATCH v2] tcp: fix wrong checksum calculation on MTU probing

2016-09-21 Thread Douglas Caetano dos Santos
With TCP MTU probing enabled and offload TX checksumming disabled, tcp_mtu_probe() calculated the wrong checksum when a fragment being copied into the probe's SKB had an odd length. This was caused by the direct use of skb_copy_and_csum_bits() to calculate the checksum, as it pads the fragment bein