summaryrefslogtreecommitdiff
path: root/datapath-windows/ovsext/Stt.c
diff options
context:
space:
mode:
authorNithin Raju <nithin@vmware.com>2015-06-19 09:13:08 -0700
committerGurucharan Shetty <gshetty@nicira.com>2015-06-19 12:57:07 -0700
commit0b623ad5a8b8ab2a8b7441bd43579eb52bdc672f (patch)
tree950f38776008ce149abb91fd9d22fa331d32e9ae /datapath-windows/ovsext/Stt.c
parent2d34dbd9e1706b71bad630a9c8d8851dd511ce24 (diff)
downloadopenvswitch-0b623ad5a8b8ab2a8b7441bd43579eb52bdc672f.tar.gz
datapath-windows: use correct dst port during Vxlan Tx
A previous commit used the wrong DST port in the UDP header during Vxlan Tx which caused Vxlan tunneling to break. Fixing it here.. Also included is a cosmetic fix in OvsDetectTunnelRxPkt() where we were using htons() instead of ntohs(). Doesn't make a difference in practice though. One more change is, OvsIpHlprCbVxlan() has been nuked since it is not used. Not sure if it is worth being resurrected. Testing done: Ping across Vxlan tunnel and Stt tunnel. Signed-off-by: Nithin Raju <nithin@vmware.com> Reported-by: Eitan Eliahu <eliahue@vmware.com> Acked-by: Alin Gabriel Serdean <aserdean@cloudbasesolutions.com> Signed-off-by: Gurucharan Shetty <gshetty@nicira.com>
Diffstat (limited to 'datapath-windows/ovsext/Stt.c')
-rw-r--r--datapath-windows/ovsext/Stt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/datapath-windows/ovsext/Stt.c b/datapath-windows/ovsext/Stt.c
index 1f708c843..b6272c3c7 100644
--- a/datapath-windows/ovsext/Stt.c
+++ b/datapath-windows/ovsext/Stt.c
@@ -114,8 +114,8 @@ OvsEncapStt(POVS_VPORT_ENTRY vport,
return NDIS_STATUS_FAILURE;
}
- status = OvsDoEncapStt(vport, curNbl, tunKey, &fwdInfo, layers, switchContext,
- newNbl);
+ status = OvsDoEncapStt(vport, curNbl, tunKey, &fwdInfo, layers,
+ switchContext, newNbl);
return status;
}