[ovs-dev] [PATCH] ofproto: Correctly credit stats for displaced rules.

Ben Pfaff blp at nicira.com
Thu Nov 12 15:06:20 PST 2009


Jesse Gross <jesse at nicira.com> writes:

> When a rule displaces another, we are supposed to credit the stats
> for packets that have already been processed to the displaced rule
> before we eject it from the datapath.  However, we were instead
> crediting the new rule.

Looks good.

Any chance you could look at the bug mentioned in the /* XXX */
comment a few lines down in rule_update_actions()?  It would be
nice to properly handle that situation too.




More information about the dev mailing list