Commit 5603357a authored by Sorin Vinturis's avatar Sorin Vinturis Committed by Ben Pfaff

datapath-windows: Failed initialization for datapath tunnel ports

Tunnel ports are not initialized with the corresponding default port.
The newly allocated vport is not yet initialized and the ovsType
member does not reflect the correct tunnel port type, thus the
transport port destination won't be correctly initialized.
Signed-off-by: default avatarSorin Vinturis <svinturis@cloudbasesolutions.com>
Reported-by: default avatarSorin Vinturis <svinturis@cloudbasesolutions.com>
Reported-at: https://github.com/openvswitch/ovs-issues/issues/88Acked-by: default avatarEitan Eliahu <eliahue@vmware.com>
Signed-off-by: default avatarBen Pfaff <blp@nicira.com>
parent 55bbfb2f
......@@ -2160,7 +2160,7 @@ OvsNewVportCmdHandler(POVS_USER_PARAMS_CONTEXT usrParamsCtx,
if (OvsIsTunnelVportType(portType)) {
UINT16 transportPortDest = 0;
switch (vport->ovsType) {
switch (portType) {
case OVS_VPORT_TYPE_VXLAN:
transportPortDest = VXLAN_UDP_PORT;
break;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment