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 ;-)

Acked-by: Joe Stringer <j...@ovn.org>
_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev

Reply via email to