]> git.baikalelectronics.ru Git - kernel.git/commit
[IPV6]: Segmentation offload not set correctly on TCP children
authorStephen Hemminger <shemminger@osdl.org>
Fri, 25 Aug 2006 22:55:43 +0000 (15:55 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Sun, 27 Aug 2006 01:42:01 +0000 (18:42 -0700)
commit2310cb8e15cfa787e86e258cdf14ed1d673ad07e
tree89f82b76b89293aaf9eae94c9fc7be151e3ba664
parent0c9672bb50a1bb5501c6a0a3f8f843993dcfd21c
[IPV6]: Segmentation offload not set correctly on TCP children

TCP over IPV6 would incorrectly inherit the GSO settings.
This would cause kernel to send Tcp Segmentation Offload packets for
IPV6 data to devices that can't handle it. It caused the sky2 driver
to lock http://bugzilla.kernel.org/show_bug.cgi?id=7050
and the e1000 would generate bogus packets. I can't blame the
hardware for gagging if the upper layers feed it garbage.

This was a new bug in 2.6.18 introduced with GSO support.

Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/tcp_ipv6.c