|
@@ -1004,10 +1004,6 @@ struct xt_table_info *xt_alloc_table_info(unsigned int size)
|
|
if (sz < sizeof(*info))
|
|
if (sz < sizeof(*info))
|
|
return NULL;
|
|
return NULL;
|
|
|
|
|
|
- /* Pedantry: prevent them from hitting BUG() in vmalloc.c --RR */
|
|
|
|
- if ((size >> PAGE_SHIFT) + 2 > totalram_pages)
|
|
|
|
- return NULL;
|
|
|
|
-
|
|
|
|
/* __GFP_NORETRY is not fully supported by kvmalloc but it should
|
|
/* __GFP_NORETRY is not fully supported by kvmalloc but it should
|
|
* work reasonably well if sz is too large and bail out rather
|
|
* work reasonably well if sz is too large and bail out rather
|
|
* than shoot all processes down before realizing there is nothing
|
|
* than shoot all processes down before realizing there is nothing
|