[IPV6]: Disable SG for GSO unless we have checksum
authorHerbert Xu <herbert@gondor.apana.org.au>
Thu, 28 Sep 2006 02:03:36 +0000 (19:03 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Fri, 29 Sep 2006 01:02:45 +0000 (18:02 -0700)
commit1a9e9ef684ec2bd27fcdb373a82957a0c050daf6
treeffe9696b24a6d62de6c61f20233224e7f8aefcb6
parent8122adf06e6f93ae608cf8227e878cc44f4a8fd1
[IPV6]: Disable SG for GSO unless we have checksum

Because the system won't turn off the SG flag for us we
need to do this manually on the IPv6 path.  Otherwise we
will throw IPv6 packets with bad checksums at the hardware.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/ipv6_sockglue.c