[ovs-dev] [PATCH 1/2] tunneling: Refresh IP header pointer after update_header().

Ben Pfaff blp at nicira.com
Thu Dec 16 17:30:37 UTC 2010


On Wed, Dec 15, 2010 at 08:15:58PM -0800, Jesse Gross wrote:
> We were assuming that the call to update_header() to finalize tunnel
> headers wouldn't cause the skb linear data area to be reallocated.
> So far this hasn't been a problem but it's not, generally speaking,
> a good assumption to make.  Therefore, refetch the pointer to the IP
> header instead of carrying it across the call.
> 
> Signed-off-by: Jesse Gross <jesse at nicira.com>

Acked-by: Ben Pfaff <blp at nicira.com>




More information about the dev mailing list