Skip to content

Commit

Permalink
datapath-windows: Report success for conntrack actions over frags
Browse files Browse the repository at this point in the history
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 <aserdean@cloudbasesolutions.com>
Acked-by: Anand Kumar <kumaranand@vmware.com>
Signed-off-by: Gurucharan Shetty <guru@ovn.org>
  • Loading branch information
Alin Serdean authored and shettyg committed May 23, 2017
1 parent 23bea5f commit 82db51e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions datapath-windows/ovsext/Actions.c
Expand Up @@ -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) {
Expand Down

0 comments on commit 82db51e

Please sign in to comment.