summaryrefslogtreecommitdiff
path: root/datapath-windows
diff options
context:
space:
mode:
authorAnand Kumar <kumaranand@vmware.com>2017-08-30 16:03:57 -0700
committerAlin Gabriel Serdean <aserdean@ovn.org>2017-09-04 16:49:28 +0300
commit54f61dd078ed009e95f152d9e813ec9f32f1ccff (patch)
tree8c2fcf3e17a0d7d8a47b57423a03418671fca710 /datapath-windows
parent44820d2aa972d522a02e0fd6291e1ca3f8314ee1 (diff)
downloadopenvswitch-54f61dd078ed009e95f152d9e813ec9f32f1ccff.tar.gz
datapath-windows: Remove unnecessary call to OvsInitForwardingCtx
Only curNbl in the forwarding context needs to be updated with fragmented NBL. Signed-off-by: Anand Kumar <kumaranand@vmware.com> Acked-by: Shashank Ram <rams@vmware.com> Acked-by: Sairam Venugopal <vsairam@vmware.com> Acked-by: Alin Gabriel Serdean <aserdean@ovn.org> Signed-off-by: Alin Gabriel Serdean <aserdean@ovn.org>
Diffstat (limited to 'datapath-windows')
-rw-r--r--datapath-windows/ovsext/Actions.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/datapath-windows/ovsext/Actions.c b/datapath-windows/ovsext/Actions.c
index 684b3166f..41d1c7b1b 100644
--- a/datapath-windows/ovsext/Actions.c
+++ b/datapath-windows/ovsext/Actions.c
@@ -160,14 +160,7 @@ OvsDoFragmentNbl(OvsForwardingContext *ovsFwdCtx, UINT16 mru)
if (fragNbl != NULL) {
OvsCompleteNBL(ovsFwdCtx->switchContext, ovsFwdCtx->curNbl, TRUE);
- OvsInitForwardingCtx(ovsFwdCtx,
- ovsFwdCtx->switchContext,
- fragNbl,
- ovsFwdCtx->srcVportNo,
- ovsFwdCtx->sendFlags,
- NET_BUFFER_LIST_SWITCH_FORWARDING_DETAIL(fragNbl),
- ovsFwdCtx->completionList,
- &ovsFwdCtx->layers, FALSE);
+ ovsFwdCtx->curNbl = fragNbl;
} else {
OVS_LOG_INFO("Fragment NBL failed for MRU = %u", mru);
}