[ovs-dev] [PATCH 11/26] ofproto-dpif-xlate: Move declaration of 'orig_flow' near its first use.
Ben Pfaff
blp at nicira.com
Thu Jul 30 06:42:31 UTC 2015
Signed-off-by: Ben Pfaff <blp at nicira.com>
---
ofproto/ofproto-dpif-xlate.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ofproto/ofproto-dpif-xlate.c b/ofproto/ofproto-dpif-xlate.c
index 3430a57..6bad7f9 100644
--- a/ofproto/ofproto-dpif-xlate.c
+++ b/ofproto/ofproto-dpif-xlate.c
@@ -4784,7 +4784,6 @@ xlate_actions(struct xlate_in *xin, struct xlate_out *xout)
ofpbuf_reserve(ctx.odp_actions, NL_A_U32_SIZE);
struct xport *in_port;
- struct flow orig_flow;
bool tnl_may_send;
COVERAGE_INC(xlate_actions);
@@ -4927,6 +4926,7 @@ xlate_actions(struct xlate_in *xin, struct xlate_out *xout)
}
xout->fail_open = ctx.rule && rule_dpif_is_fail_open(ctx.rule);
+ struct flow orig_flow;
if (mbridge_has_mirrors(xbridge->mbridge)) {
/* Do this conditionally because the copy is expensive enough that it
* shows up in profiles. */
--
2.1.3
More information about the dev
mailing list