mirror of
https://github.com/openvswitch/ovs
synced 2025-09-01 06:45:17 +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) {
|
if (!register_count) {
|
||||||
nln_notifier_destroy(route_notifier);
|
nln_notifier_destroy(route_notifier);
|
||||||
|
route_notifier = NULL;
|
||||||
nln_destroy(nln);
|
nln_destroy(nln);
|
||||||
nln = NULL;
|
nln = NULL;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user