From: Pravin B Shelar Date: Tue, 30 Jul 2013 22:45:59 +0000 (-0700) Subject: openvswitch: Use non rcu hlist_del() flow table entry. X-Git-Tag: v3.12-rc1~132^2~166^2~8 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=76a66c7e7f6bec35bbdb0ca91db327c7c56d8c45;p=kernel%2Fkernel-generic.git openvswitch: 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 Signed-off-by: Jesse Gross --- diff --git a/net/openvswitch/flow.c b/net/openvswitch/flow.c index 1aa84dc..fca2825 100644 --- 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); } }