Re: [PATCH net-next] udp: Complement partial checksum for GSO packet

2018-05-02 Thread David Miller
From: Willem de Bruijn Date: Wed, 2 May 2018 11:25:43 +0200 > On Tue, May 1, 2018 at 12:06 PM, Willem de Bruijn > wrote: >> On Tue, May 1, 2018 at 2:01 AM, Sean Tranchetti >> wrote: >>> Using the udp_v4_check() function to calculate the pseudo header >>> for the newly segmented UDP packets res

Re: [PATCH net-next] udp: Complement partial checksum for GSO packet

2018-05-02 Thread Willem de Bruijn
On Tue, May 1, 2018 at 12:06 PM, Willem de Bruijn wrote: > On Tue, May 1, 2018 at 2:01 AM, Sean Tranchetti > wrote: >> Using the udp_v4_check() function to calculate the pseudo header >> for the newly segmented UDP packets results in assigning the complement >> of the value to the UDP header che

Re: [PATCH net-next] udp: Complement partial checksum for GSO packet

2018-05-01 Thread Willem de Bruijn
On Tue, May 1, 2018 at 2:01 AM, Sean Tranchetti wrote: > Using the udp_v4_check() function to calculate the pseudo header > for the newly segmented UDP packets results in assigning the complement > of the value to the UDP header checksum field. > > Always undo the complement the partial checksum v

[PATCH net-next] udp: Complement partial checksum for GSO packet

2018-04-30 Thread Sean Tranchetti
Using the udp_v4_check() function to calculate the pseudo header for the newly segmented UDP packets results in assigning the complement of the value to the UDP header checksum field. Always undo the complement the partial checksum value in order to match the case where GSO is not used on the UDP