[ovs-dev] [PATCH 2/5] bridge: Initialize dscp for mgmt connections.
Gurucharan Shetty
shettyg at nicira.com
Mon May 19 19:52:23 UTC 2014
Without it, garbage values make it to set_dscp function
in Windows.
Signed-off-by: Gurucharan Shetty <gshetty at nicira.com>
---
vswitchd/bridge.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/vswitchd/bridge.c b/vswitchd/bridge.c
index 618a705..6038cf0 100644
--- a/vswitchd/bridge.c
+++ b/vswitchd/bridge.c
@@ -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'. */
--
1.7.9.5
More information about the dev
mailing list