diff options
author | Ben Pfaff <blp@ovn.org> | 2016-04-12 22:00:25 -0700 |
---|---|---|
committer | Ben Pfaff <blp@ovn.org> | 2016-04-13 12:37:15 -0700 |
commit | ce05810425872709ddda9d7755b3348f584849ff (patch) | |
tree | 573ffdcac73fa54e80af66264f8a7e331ca3bd7b /datapath-windows/ovsext/Flow.c | |
parent | 6e3a764c9e563fa35f750870070854a2d6b7f245 (diff) | |
download | openvswitch-ce05810425872709ddda9d7755b3348f584849ff.tar.gz |
ofp-actions: Make ofpact_finish() harder to misuse.
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 <joe@ovn.org>
Signed-off-by: Ben Pfaff <blp@ovn.org>
Acked-by: Joe Stringer <joe@ovn.org>
Diffstat (limited to 'datapath-windows/ovsext/Flow.c')
0 files changed, 0 insertions, 0 deletions