X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=ofproto%2Ffail-open.c;h=9ac80b6d1b27029cd656e5f979fe6afbeafe5e56;hb=feb8a80bb9621f17ed0a249c79b0d02e9543e64a;hp=bae9dcaf4855902ac34ad3da0f680d60ea5493a2;hpb=deb64473f677e81f6a63db9c35de501c438e1342;p=sliver-openvswitch.git diff --git a/ofproto/fail-open.c b/ofproto/fail-open.c index bae9dcaf4..9ac80b6d1 100644 --- a/ofproto/fail-open.c +++ b/ofproto/fail-open.c @@ -182,6 +182,7 @@ fail_open_run(struct fail_open *fo) * controller, exits fail open mode. */ void fail_open_maybe_recover(struct fail_open *fo) + OVS_EXCLUDED(ofproto_mutex) { if (fail_open_is_active(fo) && connmgr_is_any_controller_admitted(fo->connmgr)) { @@ -191,6 +192,7 @@ fail_open_maybe_recover(struct fail_open *fo) static void fail_open_recover(struct fail_open *fo) + OVS_EXCLUDED(ofproto_mutex) { struct match match; @@ -250,6 +252,7 @@ fail_open_create(struct ofproto *ofproto, struct connmgr *mgr) /* Destroys 'fo'. */ void fail_open_destroy(struct fail_open *fo) + OVS_EXCLUDED(ofproto_mutex) { if (fo) { if (fail_open_is_active(fo)) {