[ovs-dev] ovs-dev] [vxlan] ofproto: Create and delete tnl_backers in type_run()
Ethan Jackson
ethan at nicira.com
Tue Feb 26 19:10:50 UTC 2013
Looks good to me with the following incremental which I've applied. I'll merge
shortly. Thanks for doing this work Kyle.
Ethan
---
ofproto/ofproto-dpif.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/ofproto/ofproto-dpif.c b/ofproto/ofproto-dpif.c
index 8009c1c..9f7a49e 100644
--- a/ofproto/ofproto-dpif.c
+++ b/ofproto/ofproto-dpif.c
@@ -847,7 +847,6 @@ type_run(const char *type)
|| !tag_set_is_empty(&backer->revalidate_set)) {
struct tag_set revalidate_set = backer->revalidate_set;
bool need_revalidate = backer->need_revalidate;
- const struct simap_node **nodes;
struct ofproto_dpif *ofproto;
struct simap_node *node;
struct simap tmp_backers;
@@ -879,7 +878,7 @@ type_run(const char *type)
} else {
node = simap_find(&backer->tnl_backers, dp_port);
if (!node) {
- uint32_t odp_port = UINT32_MAX;
+ uint32_t odp_port;
if (!dpif_port_add(backer->dpif, iter->up.netdev,
&odp_port)) {
@@ -934,7 +933,6 @@ type_run(const char *type)
}
}
}
-
}
if (timer_expired(&backer->next_expiration)) {
--
1.7.9.5
More information about the dev
mailing list