From 82db51ef490fc2366b44e8800ac88b0546bef13b Mon Sep 17 00:00:00 2001 From: Alin Serdean Date: Wed, 17 May 2017 13:43:28 +0000 Subject: [PATCH] datapath-windows: Report success for conntrack actions over frags When a conntrack action is applied over an IP fragment we pend the fragment which will be consumed later. This should be transparent to the userspace. Report that the action was applied successfully so it does not spam the ovs-vswitchd log. Signed-off-by: Alin Gabriel Serdean Acked-by: Anand Kumar Signed-off-by: Gurucharan Shetty --- datapath-windows/ovsext/Actions.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/datapath-windows/ovsext/Actions.c b/datapath-windows/ovsext/Actions.c index ebfb8a3e77d..31b4514848a 100644 --- a/datapath-windows/ovsext/Actions.c +++ b/datapath-windows/ovsext/Actions.c @@ -2032,6 +2032,11 @@ OvsDoExecuteActions(POVS_SWITCH_CONTEXT switchContext, if (status != NDIS_STATUS_PENDING) { OVS_LOG_ERROR("CT Action failed"); dropReason = L"OVS-conntrack action failed"; + } else { + /* We added a new pending NBL to be consumed later. + * Report to the userspace that the action applied + * successfully */ + status = NDIS_STATUS_SUCCESS; } goto dropit; } else if (oldNbl != ovsFwdCtx.curNbl) {