Skip to content

Commit 76a66c7

Browse files
Pravin B Shelarjessegross
authored andcommitted
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>
1 parent 59a35d6 commit 76a66c7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎net/openvswitch/flow.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -302,7 +302,7 @@ void ovs_flow_tbl_destroy(struct flow_table *table)
302302
int ver = table->node_ver;
303303

304304
hlist_for_each_entry_safe(flow, n, head, hash_node[ver]) {
305-
hlist_del_rcu(&flow->hash_node[ver]);
305+
hlist_del(&flow->hash_node[ver]);
306306
ovs_flow_free(flow);
307307
}
308308
}

0 commit comments

Comments
 (0)