Re: [TCP]: Reset gso_segs if packet is dodgy
From: David Miller <davem@davemloft.net>
Date: 2006-06-30 03:11:52
From: David Miller <davem@davemloft.net>
Date: 2006-06-30 03:11:52
From: Herbert Xu <herbert@gondor.apana.org.au> Date: Fri, 30 Jun 2006 12:00:44 +1000
[TCP]: Reset gso_segs if packet is dodgy I wasn't paranoid enough in verifying GSO information. A bogus gso_segs could upset drivers as much as a bogus header would. Let's reset it in the per-protocol gso_segment functions. I didn't verify gso_size because that can be verified by the source of the dodgy packets. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Applied, thanks Herbert.