X-Git-Url: http://git.cascardo.info/?a=blobdiff_plain;f=net%2Fcore%2Frequest_sock.c;h=fceeb37d7161697922dd46e00d62e3c1cd89eb4b;hb=a45b0616e7ee9db4c1b2b9a4a79a974325fa9bf3;hp=7552495aff7aef090d99654312d5365afa421e95;hpb=8daf14cf56816303d64d1a705fcbc389211ba36e;p=cascardo%2Flinux.git diff --git a/net/core/request_sock.c b/net/core/request_sock.c index 7552495aff7a..fceeb37d7161 100644 --- a/net/core/request_sock.c +++ b/net/core/request_sock.c @@ -45,9 +45,7 @@ int reqsk_queue_alloc(struct request_sock_queue *queue, nr_table_entries = roundup_pow_of_two(nr_table_entries + 1); lopt_size += nr_table_entries * sizeof(struct request_sock *); if (lopt_size > PAGE_SIZE) - lopt = __vmalloc(lopt_size, - GFP_KERNEL | __GFP_HIGHMEM | __GFP_ZERO, - PAGE_KERNEL); + lopt = vzalloc(lopt_size); else lopt = kzalloc(lopt_size, GFP_KERNEL); if (lopt == NULL)