[ovs-dev] [PATCH] connmgr: Make "enable-async-messages" work for primary controllers too.

Ben Pfaff blp at nicira.com
Fri Mar 2 22:10:12 UTC 2012


I only tested this feature with service controllers.

Bug #9964.
Reported-by: James Schmidt <jschmidt at nicira.com>
Signed-off-by: Ben Pfaff <blp at nicira.com>
---
 AUTHORS           |    1 +
 ofproto/connmgr.c |    1 +
 2 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/AUTHORS b/AUTHORS
index 6a83514..cdf6ce6 100644
--- a/AUTHORS
+++ b/AUTHORS
@@ -95,6 +95,7 @@ Henrik Amren            henrik at nicira.com
 Jacob Cherkas           jcherkas at nicira.com
 Jad Naous               jnaous at gmail.com
 Jamal Hadi Salim        hadi at cyberus.ca
+James Schmidt           jschmidt at nicira.com
 Jan Medved              jmedved at juniper.net
 Janis Hamme             janis.hamme at student.kit.edu
 Jari Sundell            sundell.software at gmail.com
diff --git a/ofproto/connmgr.c b/ofproto/connmgr.c
index 69534c3..c820ad5 100644
--- a/ofproto/connmgr.c
+++ b/ofproto/connmgr.c
@@ -1087,6 +1087,7 @@ ofconn_reconfigure(struct ofconn *ofconn, const struct ofproto_controller *c)
     int probe_interval;
 
     ofconn->band = c->band;
+    ofconn->enable_async_msgs = c->enable_async_msgs;
 
     rconn_set_max_backoff(ofconn->rconn, c->max_backoff);
 
-- 
1.7.2.5




More information about the dev mailing list