[ovs-dev] [PATCH] gre: Fix headroom calculation.
Ben Pfaff
blp at nicira.com
Tue Jul 13 18:51:16 UTC 2010
On Mon, Jul 12, 2010 at 05:46:52PM -0700, Jesse Gross wrote:
> If we need to make a copy we add a little bit extra to the headroom
> that we think we need in order to avoid future copies. Previously we
> would always just allocate max(headroom, 64) which is generally
> enough space. However, if we are using IPsec our expected headroom
> is large and there is no extra. Instead, it is better to just tack on
> a few extra bytes so we'll always have a cushion.
Seems fine to me. Thanks Jesse.
More information about the dev
mailing list