projects
/
profile
/
ivi
/
kernel-x86-ivi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
59a35d6
)
openvswitch: Use non rcu hlist_del() flow table entry.
author
Pravin B Shelar
<pshelar@nicira.com>
Tue, 30 Jul 2013 22:45:59 +0000
(15:45 -0700)
committer
Jesse Gross
<jesse@nicira.com>
Fri, 23 Aug 2013 23:38:00 +0000
(16:38 -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>
Signed-off-by: Jesse Gross <jesse@nicira.com>
net/openvswitch/flow.c
patch
|
blob
|
history
diff --git
a/net/openvswitch/flow.c
b/net/openvswitch/flow.c
index 1aa84dc58777b589f80f84f04554a981502bed2c..fca282520cee040ec3ee55b9012424deb8cfe051 100644
(file)
--- a/
net/openvswitch/flow.c
+++ b/
net/openvswitch/flow.c
@@
-302,7
+302,7
@@
void ovs_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);
}
}