projects
/
cascardo
/
ovs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5c84ce6
)
ofproto: Fix core dump due to uninitialized cls_rule.
author
Ethan Jackson
<ethan@nicira.com>
Tue, 10 Sep 2013 20:29:30 +0000
(13:29 -0700)
committer
Ethan Jackson
<ethan@nicira.com>
Tue, 10 Sep 2013 20:44:33 +0000
(13:44 -0700)
Bug #19568.
Signed-off-by: Ethan Jackson <ethan@nicira.com>
Acked-by: Ben Pfaff <blp@nicira.com>
ofproto/ofproto.c
patch
|
blob
|
history
diff --git
a/ofproto/ofproto.c
b/ofproto/ofproto.c
index
a8634aa
..
45b63d9
100644
(file)
--- a/
ofproto/ofproto.c
+++ b/
ofproto/ofproto.c
@@
-1281,7
+1281,6
@@
ofproto_run(struct ofproto *p)
struct oftable *table = &p->tables[i];
struct eviction_group *evg;
struct cls_cursor cursor;
- struct cls_rule cr;
struct rule *rule;
if (!table->eviction_fields) {
@@
-1293,7
+1292,7
@@
ofproto_run(struct ofproto *p)
}
ovs_rwlock_rdlock(&table->cls.rwlock);
- cls_cursor_init(&cursor, &table->cls,
&cr
);
+ cls_cursor_init(&cursor, &table->cls,
NULL
);
CLS_CURSOR_FOR_EACH (rule, cr, &cursor) {
if (!rule->eviction_group
&& (rule->idle_timeout || rule->hard_timeout)) {