In commit b2e18d(No need to restart DB / OVS on changing dscp value.), the
dscp value was wrongly set after the reconnect.

Signed-off-by: Mehak Mahajan <mmaha...@nicira.com>
---
 lib/jsonrpc.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/lib/jsonrpc.c b/lib/jsonrpc.c
index ce5d2b4..4870da8 100644
--- a/lib/jsonrpc.c
+++ b/lib/jsonrpc.c
@@ -1059,7 +1059,7 @@ jsonrpc_session_set_dscp(struct jsonrpc_session *s,
                          uint8_t dscp)
 {
     if (s->dscp != dscp) {
-        jsonrpc_session_force_reconnect(s);
         s->dscp = dscp;
+        jsonrpc_session_force_reconnect(s);
     }
 }
-- 
1.7.2.5

_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev

Reply via email to