Re: [net-next PATCH 2/5] udp: Do not pass checksum or MSS as parameters

2018-05-04 Thread Alexander Duyck
On Thu, May 3, 2018 at 6:56 PM, Eric Dumazet wrote: > > > On 05/03/2018 05:33 PM, Alexander Duyck wrote: >> From: Alexander Duyck >> >> This patch is meant to be a start at cleaning up some of the UDP GSO >> segmentation code. Specifically we were passing mss and a recomputed >> checksum when we

Re: [net-next PATCH 2/5] udp: Do not pass checksum or MSS as parameters

2018-05-03 Thread Eric Dumazet
On 05/03/2018 05:33 PM, Alexander Duyck wrote: > From: Alexander Duyck > > This patch is meant to be a start at cleaning up some of the UDP GSO > segmentation code. Specifically we were passing mss and a recomputed > checksum when we really didn't need to. The function itself could derive > tha

[net-next PATCH 2/5] udp: Do not pass checksum or MSS as parameters

2018-05-03 Thread Alexander Duyck
From: Alexander Duyck This patch is meant to be a start at cleaning up some of the UDP GSO segmentation code. Specifically we were passing mss and a recomputed checksum when we really didn't need to. The function itself could derive that information based on the already provided checksum, the len