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
ofproto: Add a ref_count to "struct rule" to protect it from being freed.
[sliver-openvswitch.git]
/
ofproto
/
ofproto-dpif-upcall.c
diff --git
a/ofproto/ofproto-dpif-upcall.c
b/ofproto/ofproto-dpif-upcall.c
index
54f441b
..
ae856a4
100644
(file)
--- a/
ofproto/ofproto-dpif-upcall.c
+++ b/
ofproto/ofproto-dpif-upcall.c
@@
-725,7
+725,7
@@
execute_flow_miss(struct flow_miss *miss, struct dpif_op *ops, size_t *n_ops)
xlate_actions_for_side_effects(&xin);
}
}
- rule_dpif_
release
(rule);
+ rule_dpif_
unref
(rule);
if (miss->xout.odp_actions.size) {
LIST_FOR_EACH (packet, list_node, &miss->packets) {