git://git.onelab.eu
/
sliver-openvswitch.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7bab157
)
ofproto-dpif: Revalidate on ofproto removal.
author
Ethan Jackson
<ethan@nicira.com>
Wed, 19 Jun 2013 02:22:56 +0000
(19:22 -0700)
committer
Ethan Jackson
<ethan@nicira.com>
Wed, 19 Jun 2013 20:22:29 +0000
(13:22 -0700)
When an ofproto is removed, this will likely require revalidation
of flows owned by other ofprotos under the same backer.
Found by inspection.
Signed-off-by: Ethan Jackson <ethan@nicira.com>
Acked-by: Ben Pfaff <blp@nicira.com>
ofproto/ofproto-dpif.c
patch
|
blob
|
history
diff --git
a/ofproto/ofproto-dpif.c
b/ofproto/ofproto-dpif.c
index
52d2277
..
e3acbc6
100644
(file)
--- a/
ofproto/ofproto-dpif.c
+++ b/
ofproto/ofproto-dpif.c
@@
-1174,6
+1174,7
@@
destruct(struct ofproto *ofproto_)
struct oftable *table;
int i;
+ ofproto->backer->need_revalidate = REV_RECONFIGURE;
hmap_remove(&all_ofproto_dpifs, &ofproto->all_ofproto_dpifs_node);
complete_operations(ofproto);