File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2436,10 +2436,10 @@ bool RouteOrch::removeRoute(RouteBulkContext& ctx)
24362436 /*
24372437 * Clean up the VRF routing table if
24382438 * 1. there is no routing entry in the VRF routing table and
2439- * 2. there is no pending creating rouing entry in gRouteBulker
2440- * The ideal way of the 2nd condition is to check pending creating entries of a certain VRF, which we can not do .
2441- * However, we can not check whether there is a pending creating entry of a certain VRF in the gRouteBulker
2442- * So, we use a strict condition here.
2439+ * 2. there is no pending bulk creation routing entry in gRouteBulker
2440+ * The ideal way of the 2nd condition is to check pending bulk creation entries of a certain VRF.
2441+ * However, we can not do that unless going over all entries in gRouteBulker.
2442+ * So, we use above strict conditions here
24432443 */
24442444 if (it_route_table->second .size () == 0 && gRouteBulker .creating_entries_count () == 0 )
24452445 {
You can’t perform that action at this time.
0 commit comments