From: Pravin B Shelar Date: Thu, 25 Jul 2013 18:28:02 +0000 (-0700) Subject: datapath: Use non rcu hlist_del() flow table entry. X-Git-Tag: sliver-openvswitch-2.0.90-1~34^2~28 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=16c6b9216e8ccccb392b09d2f1bc9e1a0e1d935d;p=sliver-openvswitch.git datapath: Use non rcu hlist_del() flow table entry. 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 Acked-by: Jesse Gross --- diff --git a/datapath/flow.c b/datapath/flow.c index 21e956c2d..2c114083f 100644 --- 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); } }