ofproto: Make rule construction and destruction more symmetric.
authorBen Pfaff <blp@nicira.com>
Wed, 11 May 2011 21:06:48 +0000 (14:06 -0700)
committerBen Pfaff <blp@nicira.com>
Wed, 11 May 2011 21:06:48 +0000 (14:06 -0700)
commit08944c1db1ab2707e28deab838dc0937bf8de8ae
tree132ca0dae0ffcea779b509017447e2729755b516
parentc084ce1d3f3147d757087502bc2ccd7400d0691f
ofproto: Make rule construction and destruction more symmetric.

Before, ->rule_construct() both created the rule and inserted into the
flow table, but ->rule_destruct() only destroyed the rule.  This makes
->rule_destruct() also remove the rule from the flow table.
lib/classifier.c
lib/classifier.h
ofproto/ofproto-dpif.c
ofproto/ofproto.c
ofproto/private.h
tests/test-classifier.c
utilities/ovs-ofctl.c