From 875b94edc739a8c09fe195001c34a97d81baa670 Mon Sep 17 00:00:00 2001 From: Ethan Jackson Date: Tue, 18 Jun 2013 19:22:56 -0700 Subject: [PATCH] ofproto-dpif: Revalidate on ofproto removal. 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 Acked-by: Ben Pfaff --- ofproto/ofproto-dpif.c | 1 + 1 file changed, 1 insertion(+) diff --git a/ofproto/ofproto-dpif.c b/ofproto/ofproto-dpif.c index 52d22774d..e3acbc6a4 100644 --- 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); -- 2.43.0