From 16c6b9216e8ccccb392b09d2f1bc9e1a0e1d935d Mon Sep 17 00:00:00 2001 From: Pravin B Shelar Date: Thu, 25 Jul 2013 11:28:02 -0700 Subject: [PATCH] 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 --- datapath/flow.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } } -- 2.20.1