From: Andrew Bennieston Subject: Re: [PATCH V7 net-next 4/7] xen-netback: Correctly clean up after queue initialisation error. Date: Wed, 30 Apr 2014 17:46:05 +0100 Message-ID: <536128CD.3010705__39184.0142583989$1398876596$gmane$org@citrix.com> References: <1398778035-26233-1-git-send-email-andrew.bennieston@citrix.com> <1398778035-26233-5-git-send-email-andrew.bennieston@citrix.com> <20140430144954.GA19082@zion.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta3.messagelabs.com ([195.245.230.39]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1WfXe4-0007Np-RB for xen-devel@lists.xenproject.org; Wed, 30 Apr 2014 16:46:09 +0000 In-Reply-To: <20140430144954.GA19082@zion.uk.xensource.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Wei Liu Cc: ian.campbell@citrix.com, netdev@vger.kernel.org, paul.durrant@citrix.com, david.vrabel@citrix.com, zoltan.kiss@citrix.com, xen-devel@lists.xenproject.org, davem@davemloft.net List-Id: xen-devel@lists.xenproject.org On 30/04/14 15:49, Wei Liu wrote: > On Tue, Apr 29, 2014 at 02:27:12PM +0100, Andrew J. Bennieston wrote: >> From: "Andrew J. Bennieston" >> >> Multiple queues were introduced in the previous patch, but if the >> initialisation of a queue failed, earlier queues would not be cleaned >> up. This patch adds cleanup logic for this scenario, making use of code >> from the regular teardown sequence. >> > > Shouldn't this patch be folded into that "previous patch" which > introduced this problem? I see you did this for netfront patch already. > > Wei. > The netfront patch included this from the beginning; I simply forgot to implement it in netback. I added it as a separate patch to make it easier to review, but I can certainly merge it in with the other one (and indeed should do so to maintain correct behaviour e.g. during a bisect). I think I'd rather receive comments on this separately, then if necessary either repost the series with this folded into the relevant patch for final merge, or post V8 with it folded after comments have been addressed. Especially since this patch series already has some very long patches... Andrew.