ofproto-dpif: Update last-used time of initial rule in handle_flow_miss().
authorBen Pfaff <blp@nicira.com>
Wed, 1 Feb 2012 19:42:39 +0000 (11:42 -0800)
committerBen Pfaff <blp@nicira.com>
Tue, 7 Feb 2012 23:48:53 +0000 (15:48 -0800)
commitf3b50afb0347705ba667b030204f61c8a3865b09
treec3b155eea2ec782d2ebd674ff7ba413f7f449545
parent3370cd3c3c2a421a9ce21bd5a60b389ffb8734ca
ofproto-dpif: Update last-used time of initial rule in handle_flow_miss().

When handle_flow_miss() handled a packet, it failed to update the rule's
last-used time.  The change to flow_push_stats() fixes the problem.

The change to rule_execute() deletes code that becomes redundant after the
change to flow_push_stats().

A test case introduced in an upcoming commit fails without this fix.

Signed-off-by: Ben Pfaff <blp@nicira.com>
ofproto/ofproto-dpif.c