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 15:39:07 +0000 (08:39 -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 df6c1b3..e3c565f 100644 (file)
@@ -2909,6 +2909,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'.  */