summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorPravin B Shelar <pshelar@nicira.com>2013-07-30 15:45:59 -0700
committerJesse Gross <jesse@nicira.com>2013-08-23 16:38:00 -0700
commit76a66c7e7f6bec35bbdb0ca91db327c7c56d8c45 (patch)
tree0e7d0e8901308e5a8aa0ac5ff5417677920beab6 /net
parent59a35d60af3ab80037ad2fa2d60671ce2818b9e4 (diff)
downloadlinux-stable-76a66c7e7f6bec35bbdb0ca91db327c7c56d8c45.tar.gz
linux-stable-76a66c7e7f6bec35bbdb0ca91db327c7c56d8c45.tar.bz2
linux-stable-76a66c7e7f6bec35bbdb0ca91db327c7c56d8c45.zip
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 <pshelar@nicira.com> Signed-off-by: Jesse Gross <jesse@nicira.com>
Diffstat (limited to 'net')
-rw-r--r--net/openvswitch/flow.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/openvswitch/flow.c b/net/openvswitch/flow.c
index 1aa84dc58777..fca282520cee 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);
}
}