diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2006-06-29 20:11:25 -0700 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2006-06-30 14:11:47 -0700 |
commit | 3820c3f3e41786322c0bb225b9c77b8deff869d1 (patch) | |
tree | a422ad9d119950af2d139849fe24e935ad9f0a22 /drivers/net/tg3.c | |
parent | 598736c55622f7ea65b98f93c825ff95c433877c (diff) | |
download | talos-obmc-linux-3820c3f3e41786322c0bb225b9c77b8deff869d1.tar.gz talos-obmc-linux-3820c3f3e41786322c0bb225b9c77b8deff869d1.zip |
[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>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/tg3.c')
0 files changed, 0 insertions, 0 deletions