classifier: Make classifier_for_each() easier to use.
authorBen Pfaff <blp@nicira.com>
Tue, 28 Apr 2009 17:28:03 +0000 (10:28 -0700)
committerBen Pfaff <blp@nicira.com>
Fri, 1 May 2009 17:55:28 +0000 (10:55 -0700)
commit22f456dba98ad2fd1103a41e81abf0730808d34d
tree1fbcb0e5523639f4a99fc79c7af2d94ff155887e
parent2c846f738675da1345dc27fbac6ed591d356de17
classifier: Make classifier_for_each() easier to use.

classifier_for_each() and classifier_for_each_match() previously had the
restriction that the callback could not delete any rule that would be
visited in the same call, even if it was in a different table (except for
the rule actually passed to the callback).  But a number of callers do
want to delete rules in other tables, and it is easy to eliminate that
restriction, so this commit does so.
lib/classifier.c
secchan/ofproto.c