]> git.baikalelectronics.ru Git - kernel.git/commit
xen/arm: Free p2m entry if fail to add it to RB tree
authorHillf Danton <hdanton@sina.com>
Tue, 30 Apr 2019 18:25:00 +0000 (11:25 -0700)
committerStefano Stabellini <sstabellini@kernel.org>
Tue, 30 Apr 2019 18:25:00 +0000 (11:25 -0700)
commitca666db99e9af1990a5845b9f728d138b69e715f
tree339ae30f6d2eb6ed60437031e7f791050ab2e32f
parent933a4ae88eb868d06abad8339646899a0f690468
xen/arm: Free p2m entry if fail to add it to RB tree

Release the newly allocated p2m entry if we detect a duplicate in the RB
tree.

Signed-off-by: Hillf Danton <hdanton@sina.com>
Signed-off-by: Stefano Stabellini <sstabellini@kernel.org>
Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>
arch/arm/xen/p2m.c