diff options
Diffstat (limited to 'datapath-windows/ovsext/Tunnel.c')
-rw-r--r-- | datapath-windows/ovsext/Tunnel.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/datapath-windows/ovsext/Tunnel.c b/datapath-windows/ovsext/Tunnel.c index 5d1be80f4..5725d275a 100644 --- a/datapath-windows/ovsext/Tunnel.c +++ b/datapath-windows/ovsext/Tunnel.c @@ -205,7 +205,7 @@ OvsInjectPacketThroughActions(PNET_BUFFER_LIST pNbl, OVS_TUNNEL_PENDED_PACKET *packet) { NTSTATUS status; - OvsIPv4TunnelKey tunnelKey; + OvsIPTunnelKey tunKey = {0}; NET_BUFFER *pNb; ULONG sendCompleteFlags = 0; BOOLEAN dispatch; @@ -220,7 +220,7 @@ OvsInjectPacketThroughActions(PNET_BUFFER_LIST pNbl, ASSERT(gOvsSwitchContext); /* Fill the tunnel key */ - status = OvsSlowPathDecapVxlan(pNbl, &tunnelKey); + status = OvsSlowPathDecapVxlan(pNbl, &tunKey); if(!NT_SUCCESS(status)) { goto dropit; @@ -276,7 +276,7 @@ OvsInjectPacketThroughActions(PNET_BUFFER_LIST pNbl, SendFlags |= NDIS_SEND_FLAGS_DISPATCH_LEVEL; vport = OvsFindTunnelVportByDstPortAndType(gOvsSwitchContext, - htons(tunnelKey.dst_port), + htons(tunKey.dst_port), OVS_VPORT_TYPE_VXLAN); if (vport == NULL){ @@ -288,7 +288,7 @@ OvsInjectPacketThroughActions(PNET_BUFFER_LIST pNbl, portNo = vport->portNo; - status = OvsExtractFlow(pNbl, portNo, &key, &layers, &tunnelKey); + status = OvsExtractFlow(pNbl, portNo, &key, &layers, &tunKey); if (status != NDIS_STATUS_SUCCESS) { goto unlockAndDrop; } |