From: Ethan Jackson Date: Wed, 19 Jun 2013 02:22:56 +0000 (-0700) Subject: ofproto-dpif: Revalidate on ofproto removal. X-Git-Tag: sliver-openvswitch-1.10.90-3~6^2~91 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=875b94edc739a8c09fe195001c34a97d81baa670;p=sliver-openvswitch.git 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 --- 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);