diff options
| author | Ethan Jackson <ethan@nicira.com> | 2011-02-24 12:38:30 -0800 |
|---|---|---|
| committer | Ethan Jackson <ethan@nicira.com> | 2011-02-24 14:33:16 -0800 |
| commit | 5e1b32141734bf944c63de8ab15538135bf3f8fd (patch) | |
| tree | 74afb1401e1c7c51ace4f9d23b55b92ff56f07df /ofproto | |
| parent | 9d1e0023e7e88570d112258d235e03591dfe2b1b (diff) | |
| download | openvswitch-5e1b32141734bf944c63de8ab15538135bf3f8fd.tar.gz | |
ofproto: Reset facet's rs_used at rule changes.
When a facet changes rules it's 'used' timer is set to the new
rule's created time. This is possibly before the time stored in
'rs_used' which could cause an assertion failure in
facet_push_stats().
Bug #4732.
Diffstat (limited to 'ofproto')
| -rw-r--r-- | ofproto/ofproto.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ofproto/ofproto.c b/ofproto/ofproto.c index 8af18145b..456dcb197 100644 --- a/ofproto/ofproto.c +++ b/ofproto/ofproto.c @@ -2566,6 +2566,7 @@ facet_revalidate(struct ofproto *ofproto, struct facet *facet) list_push_back(&new_rule->facets, &facet->list_node); facet->rule = new_rule; facet->used = new_rule->created; + facet->rs_used = facet->used; } ofpbuf_delete(odp_actions); |
