From bca41028307a18d5cf10b41fdfb464ff3d9b6c81 Mon Sep 17 00:00:00 2001 From: William Tu Date: Sun, 29 May 2022 19:54:45 -0700 Subject: datapath-windows: Fix GRE/VxLAN/STT Tunnel RX. GRE/Vxlan/STT tunnel RX is broken due to incorrecly checking the 'tunKey->dst.si_family != AF_INET', which is actually set later after parsing the GRE header. Removing such chunk makes tunnel works. Fixes: edb2335861d6 ("datapath-windows: Add IPv6 Geneve tunnel support in Windows") Cc: Alin-Gabriel Serdean Signed-off-by: William Tu Signed-off-by: Alin-Gabriel Serdean --- datapath-windows/ovsext/Vxlan.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'datapath-windows/ovsext/Vxlan.c') diff --git a/datapath-windows/ovsext/Vxlan.c b/datapath-windows/ovsext/Vxlan.c index d2c7a4a46..b268e7de2 100644 --- a/datapath-windows/ovsext/Vxlan.c +++ b/datapath-windows/ovsext/Vxlan.c @@ -412,11 +412,6 @@ OvsDecapVxlan(POVS_SWITCH_CONTEXT switchContext, NDIS_STATUS status; OVS_PACKET_HDR_INFO layers = { 0 }; - if (tunKey->dst.si_family != AF_INET) { - /*V6 tunnel support will be supported later*/ - return NDIS_STATUS_FAILURE; - } - status = OvsExtractLayers(curNbl, &layers); if (status != NDIS_STATUS_SUCCESS) { return status; -- cgit v1.2.1