mirror of
https://github.com/openvswitch/ovs
synced 2025-08-31 22:35:15 +00:00
flow: Rename 'priority' to 'skb_priority'.
This priority's mean is completely different from the priority of an OpenFlow rule, so it is confusing for it to have the same name. We should be on the lookout for a less Linux-specific name, but this one seems fine for now. Signed-off-by: Ben Pfaff <blp@nicira.com>
This commit is contained in:
@@ -74,7 +74,7 @@ cls_rule_init_exact(const struct flow *flow,
|
||||
unsigned int priority, struct cls_rule *rule)
|
||||
{
|
||||
rule->flow = *flow;
|
||||
rule->flow.priority = 0;
|
||||
rule->flow.skb_priority = 0;
|
||||
flow_wildcards_init_exact(&rule->wc);
|
||||
rule->priority = priority;
|
||||
}
|
||||
|
Reference in New Issue
Block a user