Flow table destroy is done in rcu call-back context. Therefore there is no need to use rcu variant of hlist_del(). This also makes code less confusing.
Signed-off-by: Pravin B Shelar <[email protected]> --- datapath/flow.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/datapath/flow.c b/datapath/flow.c index c6a90b9..0efb5d2 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); } } -- 1.7.1 _______________________________________________ dev mailing list [email protected] http://openvswitch.org/mailman/listinfo/dev
