On Wed, Apr 13, 2016 at 09:54:14AM -0700, Joe Stringer wrote:
> On 12 April 2016 at 22:00, Ben Pfaff <b...@ovn.org> wrote:
> > It's pretty easy to forget to update the pointer to an ofpact when
> > finishing it.  This commit forces the caller to pass a pointer-to-pointer
> > instead, and uses that to automatically update the pointer.  There still
> > could be cases that retain other pointers into the ofpbuf, but I imagine
> > that this is harder to misuse.
> >
> > Suggested-by: Joe Stringer <j...@ovn.org>
> > Signed-off-by: Ben Pfaff <b...@ovn.org>
> 
> Just the kind of API I was looking for, but wasn't inventive enough to
> wander into preprocessor territory to implement ;-)

Yeah, I'm never sure whether to be proud or ashamed of preprocessor
tricks.

> Acked-by: Joe Stringer <j...@ovn.org>

Thanks!  I applied this to master.
_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev

Reply via email to