[ovs-dev] [PATCH 2/7] ofpbuf: New function ofpbuf_use_stack().

Ben Pfaff blp at nicira.com
Mon Dec 27 22:31:57 UTC 2010


On Mon, Dec 27, 2010 at 04:59:53PM -0500, Jesse Gross wrote:
> On Thu, Dec 23, 2010 at 8:15 PM, Ben Pfaff <blp at nicira.com> wrote:
> > ---
> >  lib/ofpbuf.c |   85 +++++++++++++++++++++++++++++++++++++++++++++++-----------
> >  lib/ofpbuf.h |   16 ++++++++++-
> >  2 files changed, 84 insertions(+), 17 deletions(-)
> 
> Can you include the description of the new function in the commit message?

OK, I added:

    This new function is useful in a situation where a small stack-allocated
    buffer is usually appropriate but occasionally it must be expanded.
 




More information about the dev mailing list