]> git.proxmox.com Git - mirror_ovs.git/commit
ofproto: Iterate through exact-match rules first during expiration.
authorBen Pfaff <blp@nicira.com>
Wed, 29 Sep 2010 20:04:03 +0000 (13:04 -0700)
committerBen Pfaff <blp@nicira.com>
Thu, 7 Oct 2010 17:30:54 +0000 (10:30 -0700)
commitda89bf9eb715a779752462f523ab567ea3916fa9
tree4588e501641ab5109274989d045c6a490e583654
parent8497dd41214ddaac26928f2efa90becd1b336a52
ofproto: Iterate through exact-match rules first during expiration.

A wildcarded flow is idle only if all of its subrules have expired because
they were idle, so unless we expire exact-match rules first it is possible
that a wildcarded flow fails to expire as soon as it should.

(The current implementation of classifier_for_each() iterates through
exact-match rules before wildcarded rules, but nothing in the interface
guarantees that.)
ofproto/ofproto.c