X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=ofproto%2Fconnmgr.c;fp=ofproto%2Fconnmgr.c;h=a06277262f46f7c879d5a569521c831806c07cce;hb=c7be3f559349882c0e835a37834cfe257138e8c3;hp=da2593036436898412bde72ed644f9c0e638ef97;hpb=61c7584076dfb778697dcc132f5bcabdd42c9d9c;p=sliver-openvswitch.git diff --git a/ofproto/connmgr.c b/ofproto/connmgr.c index da2593036..a06277262 100644 --- a/ofproto/connmgr.c +++ b/ofproto/connmgr.c @@ -637,12 +637,13 @@ connmgr_set_controllers(struct connmgr *mgr, shash_destroy(&new_controllers); + ovs_mutex_unlock(&ofproto_mutex); + update_in_band_remotes(mgr); update_fail_open(mgr); if (had_controllers != connmgr_has_controllers(mgr)) { ofproto_flush_flows(mgr->ofproto); } - ovs_mutex_unlock(&ofproto_mutex); } /* Drops the connections between 'mgr' and all of its primary and secondary