From: Rik van Riel Date: Mon, 5 Apr 2010 16:13:33 +0000 (-0400) Subject: rmap: fix anon_vma_fork() memory leak X-Git-Tag: v2.6.34-rc4~73 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4946d54cb55e86a156216fcfeed5568514b0830f;p=pandora-kernel.git rmap: fix anon_vma_fork() memory leak Fix a memory leak in anon_vma_fork(), where we fail to tear down the anon_vmas attached to the new VMA in case setting up the new anon_vma fails. This bug also has the potential to leave behind anon_vma_chain structs with pointers to invalid memory. Reported-by: Minchan Kim Signed-off-by: Rik van Riel Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed