git://git.onelab.eu
/
sliver-openvswitch.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
classifier: Make use of the classifier thread safe.
[sliver-openvswitch.git]
/
ofproto
/
ofproto-provider.h
diff --git
a/ofproto/ofproto-provider.h
b/ofproto/ofproto-provider.h
index
68f4a80
..
f081482
100644
(file)
--- a/
ofproto/ofproto-provider.h
+++ b/
ofproto/ofproto-provider.h
@@
-266,7
+266,8
@@
rule_from_cls_rule(const struct cls_rule *cls_rule)
void ofproto_rule_update_used(struct rule *, long long int used);
void ofproto_rule_expire(struct rule *, uint8_t reason);
void ofproto_rule_update_used(struct rule *, long long int used);
void ofproto_rule_expire(struct rule *, uint8_t reason);
-void ofproto_rule_destroy(struct rule *);
+void ofproto_rule_destroy(struct ofproto *, struct classifier *cls,
+ struct rule *) OVS_REQ_WRLOCK(cls->rwlock);
bool ofproto_rule_has_out_port(const struct rule *, ofp_port_t out_port);
bool ofproto_rule_has_out_port(const struct rule *, ofp_port_t out_port);