]> err.no Git - linux-2.6/commit
[NET] gso: Fix up GSO packets with broken checksums
authorHerbert Xu <herbert@gondor.apana.org.au>
Sat, 8 Jul 2006 20:34:56 +0000 (13:34 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sat, 8 Jul 2006 20:34:56 +0000 (13:34 -0700)
commita430a43d087545c96542ee64573237919109d370
tree653b630298505d5a65e2e094868d83014e4b0dc4
parent89114afd435a486deb8583e89f490fc274444d18
[NET] gso: Fix up GSO packets with broken checksums

Certain subsystems in the stack (e.g., netfilter) can break the partial
checksum on GSO packets.  Until they're fixed, this patch allows this to
work by recomputing the partial checksums through the GSO mechanism.

Once they've all been converted to update the partial checksum instead of
clearing it, this workaround can be removed.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/netdevice.h
include/net/protocol.h
include/net/tcp.h
net/core/dev.c
net/ipv4/af_inet.c
net/ipv4/tcp_ipv4.c
net/ipv6/ipv6_sockglue.c
net/ipv6/tcp_ipv6.c