On Thu, Feb 7, 2019 at 8:31 AM Иван Иванов <iwan12iwan12@...> wrote:
It is not recommended to do delete() during get_next_key() loop.
The delete() may change kernel internal hash table structure
and get_next_key() may not function as expected.
You can do one loop with get_next_key() to get all the keys
and another loop to do deletions.