[ovs-dev] [PATCH 7/8] gre: Correctly account for hardware header length.

Ben Pfaff blp at nicira.com
Thu Mar 4 22:09:42 UTC 2010


On Thu, Mar 04, 2010 at 01:22:12PM -0500, Jesse Gross wrote:
> On recent kernels there are two fields that we can use to keep track
> of the overhead due to tunneling: hard_header_len and needed_headroom.
> On older kernels everything got shoved into hard_header_len and the
> actual header length got lost, which caused MTU calculations to be
> incorrect.  Since we know the device type we can figure out what the
> header length should be.

Looks good.  (I don't fully understand the situation, but the code
changes seem reasonable.)




More information about the dev mailing list