[ovs-dev] [PATCH] route-table: Close netlink notifier before closing nln.
Jesse Gross
jesse at nicira.com
Tue Sep 27 23:05:57 UTC 2011
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 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/lib/route-table.c b/lib/route-table.c
index a0c8121..cd3b37f 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;
--
1.7.4.1
More information about the dev
mailing list