git://git.onelab.eu
/
sliver-openvswitch.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8e1a83d
)
datapath: Use non rcu hlist_del() flow table entry.
author
Pravin B Shelar
<pshelar@nicira.com>
Thu, 25 Jul 2013 18:28:02 +0000
(11:28 -0700)
committer
Pravin B Shelar
<pshelar@nicira.com>
Thu, 25 Jul 2013 18:28:02 +0000
(11:28 -0700)
Flow table destroy is done in rcu call-back context. Therefore
there is no need to use rcu variant of hlist_del().
Signed-off-by: Pravin B Shelar <pshelar@nicira.com>
Acked-by: Jesse Gross <jesse@niciria.com>
datapath/flow.c
patch
|
blob
|
history
diff --git
a/datapath/flow.c
b/datapath/flow.c
index
21e956c
..
2c11408
100644
(file)
--- a/
datapath/flow.c
+++ b/
datapath/flow.c
@@
-489,7
+489,7
@@
static void __flow_tbl_destroy(struct flow_table *table)
int ver = table->node_ver;
hlist_for_each_entry_safe(flow, n, head, hash_node[ver]) {
- hlist_del
_rcu
(&flow->hash_node[ver]);
+ hlist_del(&flow->hash_node[ver]);
ovs_flow_free(flow, false);
}
}