[ovs-dev] [PATCH] datapath: Ensure packet length matches headers during checksum setup.

Ben Pfaff blp at nicira.com
Fri Apr 30 16:38:02 UTC 2010


On Thu, Apr 29, 2010 at 07:17:43PM -0700, Jesse Gross wrote:
> During the setup of checksumming pointers we need to make sure that
> the transport headers are in the skb linear data area.  However, we
> don't currently verify that the lengths in the packet headers are
> within the size of the packet.  This makes that check before a
> BUG() check does it for us.

It looks correct to me.




More information about the dev mailing list