]> Git Repo - linux.git/commit
xen/pvh: Fix misplaced kfree from xlated_setup_gnttab_pages
authorDave Jones <[email protected]>
Mon, 27 Jan 2014 15:56:09 +0000 (10:56 -0500)
committerKonrad Rzeszutek Wilk <[email protected]>
Fri, 31 Jan 2014 14:48:58 +0000 (09:48 -0500)
commitf93576e1ac34fd7a93d6f3432e71295bbe6a27ce
tree3721b396e96e21694987fba66c6ce12dedf53c71
parentbc1b0df59e3fc4573f92bc1aab9652047a0aeaa7
xen/pvh: Fix misplaced kfree from xlated_setup_gnttab_pages

Passing a freed 'pages' to free_xenballooned_pages will end badly
on kernels with slub debug enabled.

This looks out of place between the rc assign and the check, but
we do want to kfree pages regardless of which path we take.

Signed-off-by: Dave Jones <[email protected]>
Signed-off-by: Konrad Rzeszutek Wilk <[email protected]>
arch/x86/xen/grant-table.c
This page took 0.056761 seconds and 4 git commands to generate.