Cong Wang <xiyou.wangc...@gmail.com> wrote: > > - hlist_for_each_entry(tmp, &node->hhead, bydst) > > - tmp->bydst_reinsert = true; > > - hlist_for_each_entry(tmp, &n->hhead, bydst) > > + hlist_for_each_entry(tmp, &n->hhead, bydst) { > > > hlist_for_each_entry_safe()?
Could be used instead indeed, but its not required. Steffen, just let me know your preference. If you think that hlist_for_each_entry(...) hlist_del_rcu(&tmp->bydst); ... looks unsafe then i can respin this with _safe version.