Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756671AbbLWTKp (ORCPT ); Wed, 23 Dec 2015 14:10:45 -0500 Received: from mail.skyhub.de ([78.46.96.112]:40175 "EHLO mail.skyhub.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754836AbbLWTKn (ORCPT ); Wed, 23 Dec 2015 14:10:43 -0500 Date: Wed, 23 Dec 2015 20:10:39 +0100 From: Borislav Petkov To: Jiang Liu Cc: Thomas Gleixner , Joe Lawrence , Ingo Molnar , "H. Peter Anvin" , x86@kernel.org, Jeremiah Mahler , andy.shevchenko@gmail.com, Guenter Roeck , linux-kernel@vger.kernel.org Subject: Re: [Bugfix v2 1/5] x86/irq: Do not reuse struct apic_chip_data.old_domain as temporary buffer Message-ID: <20151223191039.GI30213@pd.tnic> References: <1450880014-11741-1-git-send-email-jiang.liu@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <1450880014-11741-1-git-send-email-jiang.liu@linux.intel.com> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 817 Lines: 24 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 > --- > arch/x86/kernel/apic/vector.c | 9 +++++---- > 1 file changed, 5 insertions(+), 4 deletions(-) All 5: Tested-by: Borislav Petkov -- 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/