mirror of
https://github.com/openvswitch/ovs
synced 2025-08-31 14:25:26 +00:00
classifier: Make classifier_lookup() 'flow' parameter non-const.
An upcoming commit will make classifier_lookup() sometimes modify its 'flow' argument temporarily during the lookup. Signed-off-by: Ben Pfaff <blp@nicira.com> Acked-by: Jarno Rajahalme <jrajahalme@nicira.com> --- v2: New patch. v2.1: Rebase. v3: Rebase.
This commit is contained in:
@@ -295,7 +295,7 @@ static inline void classifier_publish(struct classifier *);
|
||||
/* Lookups. These are RCU protected and may run concurrently with modifiers
|
||||
* and each other. */
|
||||
const struct cls_rule *classifier_lookup(const struct classifier *,
|
||||
const struct flow *,
|
||||
struct flow *,
|
||||
struct flow_wildcards *);
|
||||
bool classifier_rule_overlaps(const struct classifier *,
|
||||
const struct cls_rule *);
|
||||
|
Reference in New Issue
Block a user