projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ixgbe: fix detection of SFP+ capable interfaces
[cascardo/linux.git]
/
mm
/
percpu.c
diff --git
a/mm/percpu.c
b/mm/percpu.c
index
63e24fb
..
2ddf9a9
100644
(file)
--- a/
mm/percpu.c
+++ b/
mm/percpu.c
@@
-610,7
+610,7
@@
static struct pcpu_chunk *pcpu_alloc_chunk(void)
chunk->map = pcpu_mem_zalloc(PCPU_DFL_MAP_ALLOC *
sizeof(chunk->map[0]));
if (!chunk->map) {
-
kfree(chunk
);
+
pcpu_mem_free(chunk, pcpu_chunk_struct_size
);
return NULL;
}