OvsCreateNewNBLsFromMultipleNBs function failed to correctly complete the
original NBL with multiple NBs after creating multiple NBLs with single
NB.
Signed-off-by: Sorin Vinturis <svinturis@cloudbasesolutions.com>
Acked-by: Eitan Eliahu <eliahue@vmware.com>
Acked-by: Nithin Raju <nithin@vmware.com>
Signed-off-by: Ben Pfaff <blp@nicira.com>
}
lastNbl->Next = *nextNbl;
*nextNbl = newNbls->Next;
- *curNbl = newNbls;
- (*curNbl)->Next = NULL;
OvsCompleteNBL(switchContext, *curNbl, TRUE);
+ *curNbl = newNbls;
+ (*curNbl)->Next = NULL;
+
error = FALSE;
} while (error);