bridge: Initialize dscp for mgmt connections.
authorGurucharan Shetty <gshetty@nicira.com>
Fri, 16 May 2014 19:04:00 +0000 (12:04 -0700)
committerGurucharan Shetty <gshetty@nicira.com>
Wed, 28 May 2014 16:08:07 +0000 (09:08 -0700)
Without it, garbage values make it to set_dscp function
in Windows.

Signed-off-by: Gurucharan Shetty <gshetty@nicira.com>
Acked-by: Ben Pfaff <blp@nicira.com>
vswitchd/bridge.c

index 1b06ec9..30fce66 100644 (file)
@@ -2835,6 +2835,7 @@ bridge_ofproto_controller_for_mgmt(const struct bridge *br,
     oc->rate_limit = 0;
     oc->burst_limit = 0;
     oc->enable_async_msgs = true;
+    oc->dscp = 0;
 }
 
 /* Converts ovsrec_controller 'c' into an ofproto_controller in 'oc'.  */