2
0
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:
Jesse Gross
2011-09-28 09:52:07 -07:00
parent 6ff686f2bc
commit 2f0dc471d0

View File

@@ -189,6 +189,7 @@ route_table_unregister(void)
if (!register_count) {
nln_notifier_destroy(route_notifier);
route_notifier = NULL;
nln_destroy(nln);
nln = NULL;