netfilter: x_tables: 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. Change-Id: Ibb85e65ee8864a8529fc51cb08092bdf3cecf7e0 Link: http://lkml.kernel.org/r/20180131081916.GO21609@dhcp22.suse.cz Suggested-by:Andrew Morton <akpm@linux-foundation.org> Signed-off-by:
Michal Hocko <mhocko@suse.com> Reviewed-by:
Andrew Morton <akpm@linux-foundation.org> Cc: Florian Westphal <fw@strlen.de> Cc: David S. Miller <davem@davemloft.net> Signed-off-by:
Andrew Morton <akpm@linux-foundation.org> Signed-off-by:
Pablo Neira Ayuso <pablo@netfilter.org> Git-commit: fd2c19b2a28bb574b3914466a68ef830212d5cf7 Git-repo: https://git.kernel.org/pub/scm/linux/kernel/git/davem/net.git Signed-off-by:
Sean Tranchetti <stranche@codeaurora.org> Signed-off-by:
Chinmay Agarwal <chinagar@codeaurora.org>
Loading
Please register or sign in to comment