On Sun, Feb 02, 2020 at 08:30:53PM -0800, Cong Wang wrote: > The user-specified hashtable size is unbound, this could > easily lead to an OOM or a hung task as we hold the global > mutex while allocating and initializing the new hashtable. > > Add a max value to cap both cfg->size and cfg->max, as > suggested by Florian. Also applied, thanks.