openvswitch: Use non rcu hlist_del() flow table entry.
authorPravin B Shelar <pshelar@nicira.com>
Tue, 30 Jul 2013 22:45:59 +0000 (15:45 -0700)
committerJesse 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

index 1aa84dc58777b589f80f84f04554a981502bed2c..fca282520cee040ec3ee55b9012424deb8cfe051 100644 (file)
@@ -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);
                }
        }