projects
/
openvswitch
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b981b92
)
secchan: Fix memory leak, and flush all flows on ofproto destruction.
author
Ben Pfaff
<blp@nicira.com>
Tue, 10 Mar 2009 17:14:14 +0000
(10:14 -0700)
committer
Ben Pfaff
<blp@nicira.com>
Tue, 10 Mar 2009 21:00:34 +0000
(14:00 -0700)
secchan/ofproto.c
patch
|
blob
|
history
diff --git
a/secchan/ofproto.c
b/secchan/ofproto.c
index 0d7b97567dc291f9b963bb3a3cf401cc03a7d587..bc99ea20394e11e86fbffdcea27932713d1257f0 100644
(file)
--- a/
secchan/ofproto.c
+++ b/
secchan/ofproto.c
@@
-578,6
+578,9
@@
ofproto_destroy(struct ofproto *p)
return;
}
+ ofproto_flush_flows(p);
+ classifier_destroy(&p->cls);
+
LIST_FOR_EACH_SAFE (ofconn, next_ofconn, struct ofconn, node,
&p->all_conns) {
ofconn_destroy(ofconn, p);