From: Jesse Gross Date: Tue, 27 Sep 2011 22:27:43 +0000 (-0700) Subject: route-table: Close netlink notifier before closing nln. X-Git-Tag: v1.3.0~189 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=f4dc8c5895ed6a95c7331910c4c54107d783cba5;p=sliver-openvswitch.git 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 --- diff --git a/lib/route-table.c b/lib/route-table.c index a0c812105..cd3b37f1c 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;