aboutsummaryrefslogtreecommitdiffstats
path: root/net/tipc/ref.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/tipc/ref.c')
-rw-r--r--net/tipc/ref.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/net/tipc/ref.c b/net/tipc/ref.c
index 83116892528b..9e37b7812c3c 100644
--- a/net/tipc/ref.c
+++ b/net/tipc/ref.c
@@ -110,8 +110,7 @@ int tipc_ref_table_init(u32 requested_size, u32 start)
110 110
111 /* allocate table & mark all entries as uninitialized */ 111 /* allocate table & mark all entries as uninitialized */
112 112
113 table = __vmalloc(actual_size * sizeof(struct reference), 113 table = vzalloc(actual_size * sizeof(struct reference));
114 GFP_KERNEL | __GFP_HIGHMEM | __GFP_ZERO, PAGE_KERNEL);
115 if (table == NULL) 114 if (table == NULL)
116 return -ENOMEM; 115 return -ENOMEM;
117 116