CT timeout is not supported in Windows datapath, but
currently it incorrectly reports to ovs-vswitchd as supported blow
"system@ovs-system: Datapath supports timeout policy in conntrack
action". The patches detects it and returns not support.

Cc: Alin-Gabriel Serdean <aserd...@ovn.org>
Cc: Wilson Peng <pweis...@vmware.com>
Signed-off-by: William Tu <u9012...@gmail.com>
---
 datapath-windows/ovsext/Conntrack.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/datapath-windows/ovsext/Conntrack.c 
b/datapath-windows/ovsext/Conntrack.c
index 471bf961b..b33676cc1 100644
--- a/datapath-windows/ovsext/Conntrack.c
+++ b/datapath-windows/ovsext/Conntrack.c
@@ -1436,6 +1436,9 @@ OvsExecuteConntrackAction(OvsForwardingContext *fwdCtx,
                     }
                 }
                 break;
+            case OVS_CT_ATTR_TIMEOUT:
+                return NDIS_STATUS_NOT_SUPPORTED;
+                break;
             default:
                 OVS_LOG_TRACE("Invalid netlink attr type: %u", 
NlAttrType(ctAttr));
                 break;
-- 
2.33.0.windows.2

_______________________________________________
dev mailing list
d...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to