Only curNbl in the forwarding context needs to be updated with
fragmented NBL.
Signed-off-by: Anand Kumar <kumaranand@vmware.com>
Acked-by: Sairam Venugopal <vsairam@vmware.com>
Acked-by: Shashank Ram <rams@vmware.com>
Acked-by: Alin Gabriel Serdean <aserdean@ovn.org>
Signed-off-by: Alin Gabriel Serdean <aserdean@ovn.org>
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);
}