From f4dc8c5895ed6a95c7331910c4c54107d783cba5 Mon Sep 17 00:00:00 2001 From: Jesse Gross Date: Tue, 27 Sep 2011 15:27:43 -0700 Subject: [PATCH] route-table: Close netlink notifier before closing nln. Commit 2ee6545f2bff7eb27e8c84965e3ff38dfa909bf6 "notifiers: Create and destroy nln_notifiers." requires callers to explicitly create and destroy netlink notifiers but route-table only did the creation part. This causes an assertion failure any time the netdev for a vport is destroyed (for example ovs-dpctl show when there is a tunnel port). Bug #7464 --- lib/route-table.c | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/route-table.c b/lib/route-table.c index a0c81210..cd3b37f1 100644 --- a/lib/route-table.c +++ b/lib/route-table.c @@ -188,6 +188,7 @@ route_table_unregister(void) register_count--; if (!register_count) { + nln_notifier_destroy(route_notifier); nln_destroy(nln); nln = NULL; -- 2.30.2