classifier: Support duplicate rules.
authorJarno Rajahalme <jrajahalme@nicira.com>
Fri, 29 May 2015 18:28:38 +0000 (11:28 -0700)
committerJarno Rajahalme <jrajahalme@nicira.com>
Mon, 1 Jun 2015 20:25:11 +0000 (13:25 -0700)
commit186120da7fc0f20d93778623a006c152f7cd5e90
treee822595c074762a5042eaca85b70b365e4fd01c2
parentfc02ecc7171009453f71de572d7874d385266aed
classifier: Support duplicate rules.

OpenFlow 1.4 bundles are easier to implement when it is possible to
mark a rule as 'to_be_removed' and then insert a new, identical rule
with the same priority.

All but one out of the identical rules must be marked as
'to_be_removed', and the one rule that is not 'to_be_removed' must
have been inserted last.

Signed-off-by: Jarno Rajahalme <jrajahalme@nicira.com>
Acked-by: Ben Pfaff <blp@nicira.com>
lib/classifier.c
lib/classifier.h