On Sat, 2006-06-24 at 09:53 +1000, Herbert Xu wrote:

> Nevermind, I obviously complete ignored your other fix to the length of
> the last segment :) Here is a fixed version.
> 
> [NET]: Fix CHECKSUM_HW GSO problems.
> 
> Fix checksum problems in the GSO code path for CHECKSUM_HW packets.
> 
> The ipv4 TCP pseudo header checksum has to be adjusted for GSO
> segmented packets.
> 
> The adjustment is needed because the length field in the pseudo-header
> changes.  However, because we have the inequality oldlen > newlen, we
> know that delta = (u16)~oldlen + newlen is still a 16-bit quantity.
> This also means that htonl(delta) + th->check still fits in 32 bits.
> Therefore we don't have to use csum_add on this operations.
> 
> This is based on a patch by Michael Chan <[EMAIL PROTECTED]>.
> 
> Signed-off-by: Herbert Xu <[EMAIL PROTECTED]>
> 
Yes, this should work. ACK.


-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to