projects
/
openvswitch
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6ff686f
)
route-table: Clear route_notifier after free.
author
Jesse Gross
<jesse@nicira.com>
Wed, 28 Sep 2011 16:52:07 +0000
(09:52 -0700)
committer
Jesse Gross
<jesse@nicira.com>
Wed, 28 Sep 2011 18:28:37 +0000
(11:28 -0700)
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.
lib/route-table.c
patch
|
blob
|
history
diff --git
a/lib/route-table.c
b/lib/route-table.c
index cd3b37f1cb9c34c52931601ff781161e1949b6ea..58c1b60159c90ca404815fef30511ee0f14d2ec1 100644
(file)
--- a/
lib/route-table.c
+++ b/
lib/route-table.c
@@
-189,6
+189,7
@@
route_table_unregister(void)
if (!register_count) {
nln_notifier_destroy(route_notifier);
+ route_notifier = NULL;
nln_destroy(nln);
nln = NULL;