ofproto: Only zero stats for non exact-match sub-rules.
authorJesse Gross <jesse@nicira.com>
Wed, 28 Oct 2009 23:05:57 +0000 (16:05 -0700)
committerJesse Gross <jesse@nicira.com>
Mon, 2 Nov 2009 19:45:36 +0000 (11:45 -0800)
commit0c0afbecaace0509d7b2e5b7dee4b4eac7b31e19
tree9a0a600c6af0ddabc3f7fd376d742758d8d7b83e
parentd99e262b28c34442045e53df746937432853809c
ofproto: Only zero stats for non exact-match sub-rules.

We zero the stats on sub-rules after they expire to prevent them
from being counted twice in their super-rule if they are reinstalled.
However, for exact-match sub-rules this means that the OpenFlow stats
are always zero.  This changes that to only zero the stats for
non exact match rules.

Bug #1911
secchan/ofproto.c