Return-path: Received: from mog.warmcat.com ([62.193.232.24]:48701 "EHLO mailserver.mog.warmcat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1422984AbXDXSJ2 (ORCPT ); Tue, 24 Apr 2007 14:09:28 -0400 Message-ID: <462E47D0.8030800@warmcat.com> Date: Tue, 24 Apr 2007 19:09:20 +0100 From: Andy Green MIME-Version: 1.0 To: Michael Wu CC: linux-wireless@vger.kernel.org Subject: Re: [PATCH 03/13] mac80211: fix virtual interface related locking References: <20070423184811.7029.24949.stgit@magic.sourmilk.net> <20070423184812.7029.7682.stgit@magic.sourmilk.net> <462D1DD8.8060507@warmcat.com> <200704231722.07280.flamingice@sourmilk.net> In-Reply-To: <200704231722.07280.flamingice@sourmilk.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Sender: linux-wireless-owner@vger.kernel.org List-ID: Michael Wu wrote: > On Monday 23 April 2007 16:58, Andy Green wrote: >> Couldn't get this to apply on current wireless-dev, and there is a >> trailing whitespace. Maybe it's a problem with a script I concocted to >> extract the patch from saved Thunderbird 2.0 mails... ? Is it just that >> wireless-dev changed inbetweentimes? >> > This patch series depends on the recent cfg80211/mac80211 rtnl locking > patches. Thanks for that. I added cfg80211_nl80211-use-rtnl.patch mac80211-update-for-cfg80211-rtnl-locking.patch (these names are made from the originally posted subject line) before your series and they went in fine. And the injection patches went in fine on top of that, and continue to work. However I saw this on reinsertion of zd1211rw-mac80211 module: ============================================= [ INFO: possible recursive locking detected ] 2.6.21-rc7 #11 --------------------------------------------- ip/2600 is trying to acquire lock: (&dev->_xmit_lock){-+..}, at: [] ieee80211_set_multicast_list+0x46/0x167 [mac80211] but task is already holding lock: (&dev->_xmit_lock){-+..}, at: [] dev_mc_upload+0x14/0x3c other info that might help us debug this: 2 locks held by ip/2600: #0: (rtnl_mutex){--..}, at: [] mutex_lock+0x21/0x24 #1: (&dev->_xmit_lock){-+..}, at: [] dev_mc_upload+0x14/0x3c stack backtrace: [] show_trace_log_lvl+0x1a/0x2f [] show_trace+0x12/0x14 [] dump_stack+0x16/0x18 [] __lock_acquire+0x116/0xb46 [] lock_acquire+0x56/0x6f [] _spin_lock+0x2b/0x38 [] ieee80211_set_multicast_list+0x46/0x167 [mac80211] [] __dev_mc_upload+0x20/0x22 [] dev_mc_upload+0x27/0x3c [] dev_open+0x47/0x66 [] dev_change_flags+0x51/0xf1 [] devinet_ioctl+0x235/0x53b [] inet_ioctl+0x73/0x91 [] sock_ioctl+0x1ac/0x1c9 [] do_ioctl+0x22/0x67 [] vfs_ioctl+0x252/0x265 [] sys_ioctl+0x49/0x64 [] syscall_call+0x7/0xb -Andy