From: Herbert Xu Date: Fri, 30 Jun 2006 03:11:25 +0000 (-0700) Subject: [TCP]: Reset gso_segs if packet is dodgy X-Git-Tag: v2.6.18-rc1~252^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3820c3f3e41786322c0bb225b9c77b8deff869d1;p=pandora-kernel.git [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 Signed-off-by: David S. Miller --- Reading git-diff-tree failed