ofproto: Reset facet's rs_used at rule changes.
authorEthan Jackson <ethan@nicira.com>
Thu, 24 Feb 2011 20:38:30 +0000 (12:38 -0800)
committerEthan Jackson <ethan@nicira.com>
Thu, 24 Feb 2011 22:33:16 +0000 (14:33 -0800)
commit5e1b32141734bf944c63de8ab15538135bf3f8fd
tree74afb1401e1c7c51ace4f9d23b55b92ff56f07df
parent9d1e0023e7e88570d112258d235e03591dfe2b1b
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.
ofproto/ofproto.c