mirror of
https://github.com/openvswitch/ovs
synced 2025-08-30 22:05:19 +00:00
route-table: Clear route_notifier after free.
If the routing table is destroyed and re-created then it will trigger another assertion because route_notifier is not NULL, even though it has already been freed.
This commit is contained in:
@@ -189,6 +189,7 @@ route_table_unregister(void)
|
||||
|
||||
if (!register_count) {
|
||||
nln_notifier_destroy(route_notifier);
|
||||
route_notifier = NULL;
|
||||
nln_destroy(nln);
|
||||
nln = NULL;
|
||||
|
||||
|
Reference in New Issue
Block a user