[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20200207145653.x2sb3kds6butpf6j@salvia>
Date: Fri, 7 Feb 2020 15:56:53 +0100
From: Pablo Neira Ayuso <pablo@...filter.org>
To: Cong Wang <xiyou.wangcong@...il.com>
Cc: netdev@...r.kernel.org, fw@...len.de,
netfilter-devel@...r.kernel.org,
syzbot+adf6c6c2be1c3a718121@...kaller.appspotmail.com,
Jozsef Kadlecsik <kadlec@...filter.org>
Subject: Re: [Patch nf v2 3/3] xt_hashlimit: limit the max size of hashtable
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.
Powered by blists - more mailing lists