Remove false debug assertion in avrorouter
The asserted value can be false without it being an error. When a table is re-mapped to a different position, there is no guarantee that the previous value has not been reused by another table.
This commit is contained in:
@ -146,7 +146,6 @@ bool handle_table_map_event(AVRO_INSTANCE *router, REP_HEADER *hdr, uint8_t *ptr
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
ss_dassert(router->active_maps[old->id % MAX_MAPPED_TABLES] == old);
|
|
||||||
router->active_maps[old->id % MAX_MAPPED_TABLES] = NULL;
|
router->active_maps[old->id % MAX_MAPPED_TABLES] = NULL;
|
||||||
table_map_remap(ptr, ev_len, old);
|
table_map_remap(ptr, ev_len, old);
|
||||||
router->active_maps[old->id % MAX_MAPPED_TABLES] = old;
|
router->active_maps[old->id % MAX_MAPPED_TABLES] = old;
|
||||||
|
Reference in New Issue
Block a user