mirror of
https://github.com/openvswitch/ovs
synced 2025-08-30 22:05:19 +00:00
classifier: Add missing argument in CLASSIFIER_FOR_EACH_EXACT_RULE_SAFE
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.
This commit is contained in:
@@ -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 */
|
||||
|
Reference in New Issue
Block a user