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
datapath: Add casts for direct freeing of RCU data.
[sliver-openvswitch.git]
/
datapath
/
flow.c
diff --git
a/datapath/flow.c
b/datapath/flow.c
index
5cf0d54
..
b33b315
100644
(file)
--- a/
datapath/flow.c
+++ b/
datapath/flow.c
@@
-175,7
+175,7
@@
void flow_put(struct sw_flow *flow)
return;
if (atomic_dec_and_test(&flow->refcnt)) {
- kfree(flow->sf_acts);
+ kfree(
(struct sf_flow_acts __force *)
flow->sf_acts);
kmem_cache_free(flow_cache, flow);
}
}