gso: Ensure that the packet is long enough
authorHerbert Xu <herbert@gondor.apana.org.au>
Thu, 15 Jan 2009 04:41:12 +0000 (20:41 -0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 15 Jan 2009 04:41:12 +0000 (20:41 -0800)
When we get a GSO packet from an untrusted source, we need to
ensure that it is sufficiently long so that we don't end up
crashing.

Based on discovery and patch by Ian Campbell.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Tested-by: Ian Campbell <ian.campbell@citrix.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found