diff options
author | Michal Hocko <mhocko@suse.com> | 2018-01-31 09:16:56 +0100 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2018-02-08 12:36:15 +0100 |
commit | fd2c19b2a28bb574b3914466a68ef830212d5cf7 (patch) | |
tree | 92e7ac79d41714def75a8a3e4c627a3513c85653 /net/ipv4/netfilter | |
parent | 5c487bb9adddbc1d23433e09d2548759375c2b52 (diff) | |
download | linux-fd2c19b2a28bb574b3914466a68ef830212d5cf7.tar.bz2 |
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.
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>
Diffstat (limited to 'net/ipv4/netfilter')
0 files changed, 0 insertions, 0 deletions