From: Ben Pfaff Date: Tue, 20 Aug 2013 18:16:14 +0000 (-0700) Subject: ofproto-dpif-xlate: Add comment on xlate_actions(). X-Git-Tag: sliver-openvswitch-2.0.90-1~20^2~35 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;ds=sidebyside;h=56450a416cbf8f770d7511b18624e0d057e2b449;p=sliver-openvswitch.git ofproto-dpif-xlate: Add comment on xlate_actions(). Signed-off-by: Ben Pfaff --- diff --git a/ofproto/ofproto-dpif-xlate.c b/ofproto/ofproto-dpif-xlate.c index e80ec8491..45786756c 100644 --- a/ofproto/ofproto-dpif-xlate.c +++ b/ofproto/ofproto-dpif-xlate.c @@ -2524,7 +2524,10 @@ actions_output_to_local_port(const struct xlate_ctx *ctx) } /* Translates the 'ofpacts_len' bytes of "struct ofpacts" starting at 'ofpacts' - * into datapath actions in 'odp_actions', using 'ctx'. */ + * into datapath actions in 'odp_actions', using 'ctx'. + * + * The caller must take responsibility for eventually freeing 'xout', with + * xlate_out_uninit(). */ void xlate_actions(struct xlate_in *xin, struct xlate_out *xout) {