datapath: Use non rcu hlist_del() flow table entry.
authorPravin B Shelar <pshelar@nicira.com>
Thu, 25 Jul 2013 18:28:02 +0000 (11:28 -0700)
committerPravin 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

index 21e956c..2c11408 100644 (file)
@@ -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);
                }
        }