[ovs-dev] [PATCH] classifier: Add missing argument in CLASSIFIER_FOR_EACH_EXACT_RULE_SAFE
Justin Pettit
jpettit at nicira.com
Fri Oct 8 06:33:07 UTC 2010
The CLASSIFIER_FOR_EACH_EXACT_RULE_SAFE macro was missing its "MEMBER"
argument. It doesn't currently cause any problems because no one uses
the macro.
---
lib/classifier.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/lib/classifier.h b/lib/classifier.h
index 13eb051..9b0b38d 100644
--- a/lib/classifier.h
+++ b/lib/classifier.h
@@ -171,7 +171,7 @@ struct cls_rule *classifier_find_rule_exactly(const struct classifier *,
#define CLASSIFIER_FOR_EACH_EXACT_RULE(RULE, MEMBER, CLS) \
HMAP_FOR_EACH (RULE, MEMBER.node.hmap, &(CLS)->exact_table)
-#define CLASSIFIER_FOR_EACH_EXACT_RULE_SAFE(RULE, NEXT, CLS) \
+#define CLASSIFIER_FOR_EACH_EXACT_RULE_SAFE(RULE, NEXT, MEMBER, CLS) \
HMAP_FOR_EACH_SAFE (RULE, NEXT, MEMBER.node.hmap, &(CLS)->exact_table)
#endif /* classifier.h */
--
1.7.1
More information about the dev
mailing list