projects
/
cascardo
/
ovs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Implement serializing the state of packet traversal in "continuations".
[cascardo/ovs.git]
/
ofproto
/
ofproto-dpif-mirror.c
diff --git
a/ofproto/ofproto-dpif-mirror.c
b/ofproto/ofproto-dpif-mirror.c
index
f3ff578
..
6f8079a
100644
(file)
--- a/
ofproto/ofproto-dpif-mirror.c
+++ b/
ofproto/ofproto-dpif-mirror.c
@@
-131,11
+131,13
@@
mbridge_has_mirrors(struct mbridge *mbridge)
}
/* Returns true if configurations changes in 'mbridge''s mirrors require
}
/* Returns true if configurations changes in 'mbridge''s mirrors require
- * revalidation. */
+ * revalidation
, and resets the revalidation flag to false
. */
bool
mbridge_need_revalidate(struct mbridge *mbridge)
{
bool
mbridge_need_revalidate(struct mbridge *mbridge)
{
- return mbridge->need_revalidate;
+ bool need_revalidate = mbridge->need_revalidate;
+ mbridge->need_revalidate = false;
+ return need_revalidate;
}
void
}
void