]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ipv6: Add GSO support on forwarding path
authorHerbert Xu <herbert@gondor.apana.org.au>
Thu, 27 May 2010 23:14:30 +0000 (16:14 -0700)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Fri, 17 Aug 2012 19:35:09 +0000 (15:35 -0400)
commit90902c3233c4033050d5378ab3614881ee47d37b
treebfd5a080816fbda59a56bcb2f4cb5bc4347bf4d0
parentab07019ff3c4111c31ea3384b518ad15f0cb5cd4
ipv6: Add GSO support on forwarding path

commit 0aa68271510ae2b221d4b60892103837be63afe4 upstream.

Currently we disallow GSO packets on the IPv6 forward path.
This patch fixes this.

Note that I discovered that our existing GSO MTU checks (e.g.,
IPv4 forwarding) are buggy in that they skip the check altogether,
when they really should be checking gso_size + header instead.

I have also been lazy here in that I haven't bothered to segment
the GSO packet by hand before generating an ICMP message.  Someone
should add that to be 100% correct.

Reported-by: Ralf Baechle <ralf@linux-mips.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
net/ipv6/ip6_output.c