Re: [netfilter-core] kernel panic: Out of memory and no killable processes... (2)

From: Pablo Neira Ayuso
Date: Wed Feb 07 2018 - 14:15:30 EST


On Wed, Feb 07, 2018 at 11:06:42AM -0800, Andrew Morton wrote:
> From: Michal Hocko <mhocko@xxxxxxxx>
> Subject: net/netfilter/x_tables.c: remove size check
>
> Back in 2002 vmalloc used to BUG on too large sizes. We are much better
> behaved these days and vmalloc simply returns NULL for those. Remove the
> check as it simply not needed and the comment is even misleading.

Applied, thanks!