From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: [PATCH 1/1] KVM: fix lock imbalance Date: Sun, 27 Sep 2009 10:42:36 +0200 Message-ID: <4ABF257C.2000803@redhat.com> References: <1253864018-7547-1-git-send-email-jirislaby@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: kvm@vger.kernel.org, linux-kernel@vger.kernel.org, Marcelo Tosatti To: Jiri Slaby Return-path: Received: from mx1.redhat.com ([209.132.183.28]:24824 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753385AbZI0Imh (ORCPT ); Sun, 27 Sep 2009 04:42:37 -0400 In-Reply-To: <1253864018-7547-1-git-send-email-jirislaby@gmail.com> Sender: kvm-owner@vger.kernel.org List-ID: On 09/25/2009 10:33 AM, Jiri Slaby wrote: > Stanse found 2 lock imbalances in kvm_request_irq_source_id and > kvm_free_irq_source_id. They omit to unlock kvm->irq_lock on fail paths. > > Fix that by adding unlock labels at the end of the functions and jump > there from the fail paths. > Applied, thanks. -- Do not meddle in the internals of kernels, for they are subtle and quick to panic.