I applied this on master and branch-2.8.

Thanks,
Alin.

> -----Original Message-----
> From: [email protected] [mailto:ovs-dev-
> [email protected]] On Behalf Of Anand Kumar
> Sent: Thursday, August 31, 2017 2:04 AM
> To: [email protected]
> Subject: [ovs-dev] [PATCH] 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 <[email protected]>
> ---
>  datapath-windows/ovsext/Actions.c | 9 +--------
>  1 file changed, 1 insertion(+), 8 deletions(-)
> 
> diff --git a/datapath-windows/ovsext/Actions.c b/datapath-
> windows/ovsext/Actions.c
> index 684b316..41d1c7b 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);
>      }
> --
> 2.9.3.windows.1
> 
> _______________________________________________
> dev mailing list
> [email protected]
> https://mail.openvswitch.org/mailman/listinfo/ovs-dev

_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to