classifier: Add missing argument in CLASSIFIER_FOR_EACH_EXACT_RULE_SAFE
authorJustin Pettit <jpettit@nicira.com>
Fri, 8 Oct 2010 06:30:06 +0000 (23:30 -0700)
committerJustin Pettit <jpettit@nicira.com>
Fri, 8 Oct 2010 18:19:02 +0000 (11:19 -0700)
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

index 13eb0510b95293a1174461577da90b8ae33d35e6..9b0b38d3b57f7028314ee666c9d8b642642a302a 100644 (file)
@@ -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 */