On Mon, Oct 1, 2018 at 5:58 PM Herbert Xu [off-list ref] wrote:
The walk interface was designed to handle read-only iteration
through the hash table. While this probably works since the
actual freeing is delayed by RCU, it seems to be rather fragile.
How about using the dead flag but instead of putting it in the
rhashtable put it in netns_frags and have the timers check on that
before calling rhashtable_remove?
Sure, I will send a new version, thanks.