projects
/
cascardo
/
ovs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Convert binding_run to incremental processing.
[cascardo/ovs.git]
/
ovn
/
controller
/
encaps.c
diff --git
a/ovn/controller/encaps.c
b/ovn/controller/encaps.c
index
bd5650a
..
495f8f6
100644
(file)
--- a/
ovn/controller/encaps.c
+++ b/
ovn/controller/encaps.c
@@
-15,6
+15,7
@@
#include <config.h>
#include "encaps.h"
#include <config.h>
#include "encaps.h"
+#include "binding.h"
#include "lflow.h"
#include "lib/hash.h"
#include "lflow.h"
#include "lib/hash.h"
@@
-234,6
+235,7
@@
tunnel_add(const struct sbrec_chassis *chassis_rec,
sset_add(&tc.port_names, port_name);
free(port_name);
free(ports);
sset_add(&tc.port_names, port_name);
free(port_name);
free(ports);
+ binding_reset_processing();
process_full_encaps = true;
}
process_full_encaps = true;
}
@@
-420,6
+422,7
@@
encaps_run(struct controller_ctx *ctx, const struct ovsrec_bridge *br_int,
hmap_remove(&tc.tunnel_hmap_by_uuid,
&port_hash->uuid_node);
free(port_hash);
hmap_remove(&tc.tunnel_hmap_by_uuid,
&port_hash->uuid_node);
free(port_hash);
+ binding_reset_processing();
}
continue;
}
}
continue;
}