|
@@ -45,9 +45,7 @@ int reqsk_queue_alloc(struct request_sock_queue *queue,
|
|
nr_table_entries = roundup_pow_of_two(nr_table_entries + 1);
|
|
nr_table_entries = roundup_pow_of_two(nr_table_entries + 1);
|
|
lopt_size += nr_table_entries * sizeof(struct request_sock *);
|
|
lopt_size += nr_table_entries * sizeof(struct request_sock *);
|
|
if (lopt_size > PAGE_SIZE)
|
|
if (lopt_size > PAGE_SIZE)
|
|
- lopt = __vmalloc(lopt_size,
|
|
|
|
- GFP_KERNEL | __GFP_HIGHMEM | __GFP_ZERO,
|
|
|
|
- PAGE_KERNEL);
|
|
|
|
|
|
+ lopt = vzalloc(lopt_size);
|
|
else
|
|
else
|
|
lopt = kzalloc(lopt_size, GFP_KERNEL);
|
|
lopt = kzalloc(lopt_size, GFP_KERNEL);
|
|
if (lopt == NULL)
|
|
if (lopt == NULL)
|