Re: [Bugfix v2 1/5] x86/irq: Do not reuse struct apic_chip_data.old_domain as temporary buffer

From: Borislav Petkov
Date: Wed Dec 23 2015 - 14:11:33 EST


On Wed, Dec 23, 2015 at 10:13:26PM +0800, Jiang Liu wrote:
> Function __assign_irq_vector() makes use of apic_chip_data.old_domain
> as a temporary buffer, which causes trouble to rollback logic in case of
> failure. So use a dedicated temporary buffer for __assign_irq_vector().
>
> Signed-off-by: Jiang Liu <jiang.liu@xxxxxxxxxxxxxxx>
> ---
> arch/x86/kernel/apic/vector.c | 9 +++++----
> 1 file changed, 5 insertions(+), 4 deletions(-)

All 5:

Tested-by: Borislav Petkov <bp@xxxxxxx>

--
Regards/Gruss,
Boris.

ECO tip #101: Trim your mails when you reply.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/