Re: [PATCH 4/8] ipv4: Add GRO infrastructure

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Ben Hutchings
Date: Friday, December 12, 2008 - 3:55 pm

On Fri, 2008-12-12 at 16:31 +1100, Herbert Xu wrote:
[...]

Don't we also need to check that skb->len >= iph->ihl * 4?


This covers frag_off, ttl and protocol.  But frag_off and protocol have
already been covered, and tos seems to have been missed.

[...]

Ben.

-- 
Ben Hutchings, Senior Software Engineer, Solarflare Communications
Not speaking for my employer; that's the marketing department's job.
They asked us to note that Solarflare product names are trademarked.

--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 4/8] ipv4: Add GRO infrastructure, Herbert Xu, (Thu Dec 11, 10:31 pm)
Re: [PATCH 3/8] net: Add Generic Receive Offload infrastru ..., Evgeniy Polyakov, (Fri Dec 12, 12:51 pm)
Re: [PATCH 4/8] ipv4: Add GRO infrastructure, Ben Hutchings, (Fri Dec 12, 3:55 pm)
Re: [PATCH 4/8] ipv4: Add GRO infrastructure, Herbert Xu, (Fri Dec 12, 4:04 pm)