projects
/
users
/
jedix
/
linux-maple.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9ca51a6
)
mm/mmap: Fix memory leak by maple tree
author
Liam R. Howlett <Liam.Howlett@Oracle.com>
Sun, 11 Oct 2020 03:35:05 +0000
(23:35 -0400)
committer
Liam R. Howlett <Liam.Howlett@Oracle.com>
Fri, 30 Oct 2020 19:13:09 +0000
(15:13 -0400)
Signed-off-by: Liam R. Howlett <Liam.Howlett@Oracle.com>
kernel/fork.c
patch
|
blob
|
history
diff --git
a/kernel/fork.c
b/kernel/fork.c
index 7a7c88dbcec9b9ce5b453481d6b989d9f8c5fd94..476acbf370a854de563f56aa08d85a2711aeee8e 100644
(file)
--- a/
kernel/fork.c
+++ b/
kernel/fork.c
@@
-610,6
+610,7
@@
out:
mmap_write_unlock(mm);
flush_tlb_mm(oldmm);
mmap_write_unlock(oldmm);
+ mas_empty_alloc(&mas);
dup_userfaultfd_complete(&uf);
fail_uprobe_end:
uprobe_end_dup_mmap();