From mboxrd@z Thu Jan 1 00:00:00 1970 From: Patrick McHardy Subject: Re: [PATCH][NETFILTER]: fix inconsistent lock state in nf_ct_frag6_gather() Date: Mon, 02 Jun 2008 12:43:42 +0200 Message-ID: <4843CEDE.8030409@trash.net> References: <20080529120248.GA9702@alice> <20080530105334.GA7378@ff.dom.local> <20080530211315.GA16064@alice> <20080530215314.GA2485@ami.dom.local> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit Cc: David Miller , Eric Sesterhenn , netdev@vger.kernel.org To: Jarek Poplawski Return-path: Received: from stinky.trash.net ([213.144.137.162]:64931 "EHLO stinky.trash.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752394AbYFBKnu (ORCPT ); Mon, 2 Jun 2008 06:43:50 -0400 In-Reply-To: <20080530215314.GA2485@ami.dom.local> Sender: netdev-owner@vger.kernel.org List-ID: Jarek Poplawski wrote: > According to this and another similar lockdep report inet_fragment > locks are taken from nf_ct_frag6_gather() with softirqs enabled, but > these locks are mainly used in softirq context, so disabling BHs is > necessary. Yes, this can happen on the local output path, > David & Patrick, > > It looks like this patch could be applied. Looks mostly fine, but don't we also have to disable BHs for the inet_frag_find() call in nf_ct_frag6_gather()?