Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 279017
b: refs/heads/master
c: 966567b
h: refs/heads/master
i:
  279015: e8ebd89
v: v3
  • Loading branch information
Eric Dumazet authored and David S. Miller committed Dec 19, 2011
1 parent 9b2c0a5 commit c0473dd
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 90415477bf1356f72acc34063ff52441fc10a754
refs/heads/master: 966567b7644b540962d90a0878706f59ae22c7e1
3 changes: 1 addition & 2 deletions trunk/net/netfilter/nf_conntrack_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -1342,8 +1342,7 @@ void *nf_ct_alloc_hashtable(unsigned int *sizep, int nulls)
get_order(sz));
if (!hash) {
printk(KERN_WARNING "nf_conntrack: falling back to vmalloc.\n");
hash = __vmalloc(sz, GFP_KERNEL | __GFP_HIGHMEM | __GFP_ZERO,
PAGE_KERNEL);
hash = vzalloc(sz);
}

if (hash && nulls)
Expand Down
3 changes: 1 addition & 2 deletions trunk/net/tipc/ref.c
Original file line number Diff line number Diff line change
Expand Up @@ -110,8 +110,7 @@ int tipc_ref_table_init(u32 requested_size, u32 start)

/* allocate table & mark all entries as uninitialized */

table = __vmalloc(actual_size * sizeof(struct reference),
GFP_KERNEL | __GFP_HIGHMEM | __GFP_ZERO, PAGE_KERNEL);
table = vzalloc(actual_size * sizeof(struct reference));
if (table == NULL)
return -ENOMEM;

Expand Down

0 comments on commit c0473dd

Please sign in to comment.