From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Miller Subject: Re: [PATCH] net/802/mrp: fix lockdep splat Date: Tue, 14 May 2013 12:07:54 -0700 (PDT) Message-ID: <20130514.120754.1745967383330029903.davem@davemloft.net> References: <6901a7785249816fe13a98e3c0b35127@visp.net.lb> <1368447851.13473.119.camel@edumazet-glaptop> <16b0a5ee4602cb9005dd67ea7ad0d4e8@visp.net.lb> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: eric.dumazet@gmail.com, amwang@redhat.com, david.ward@ll.mit.edu, hayeswang@realtek.com, romieu@fr.zoreil.com, netdev@vger.kernel.org To: denys@visp.net.lb Return-path: Received: from shards.monkeyblade.net ([149.20.54.216]:44272 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758156Ab3ENTH5 (ORCPT ); Tue, 14 May 2013 15:07:57 -0400 In-Reply-To: <16b0a5ee4602cb9005dd67ea7ad0d4e8@visp.net.lb> Sender: netdev-owner@vger.kernel.org List-ID: From: Denys Fedoryshchenko Date: Mon, 13 May 2013 15:53:30 +0300 > Thank you for superfast answer :) > It is changed a bit, but not disappeared. Relevant part from new > dmesg: Can you double check that you really had Eric's patch applied? lockdep appears to be complaining about the same thing in your log dump, as if the patch was not really applied. It's saying that app->lock can be taken from the join timer in softirq, but mrp_uninit_applicant() takes it without disabling softirqs. Eric's patch explicitly fixes this, by making sure that spin_lock_bh() is used there.