datapath-windows: use correct dst port during Vxlan Tx
authorNithin Raju <nithin@vmware.com>
Fri, 19 Jun 2015 16:13:08 +0000 (09:13 -0700)
committerBen Pfaff <blp@nicira.com>
Sat, 20 Jun 2015 16:47:12 +0000 (09:47 -0700)
commit0980247015b8102d0510643cc40a8b6931357abd
tree778be77f5ef7c289253b04e8649cb6ff62e40551
parente100e453108bfd3d29f2ba0050f80e4e5eeeb2aa
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>
datapath-windows/ovsext/Actions.c
datapath-windows/ovsext/Stt.c
datapath-windows/ovsext/Vxlan.c
datapath-windows/ovsext/Vxlan.h