From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail.candelatech.com ([208.74.158.172]:46369 "EHLO ns3.lanforge.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755236Ab0KLAsw (ORCPT ); Thu, 11 Nov 2010 19:48:52 -0500 Message-ID: <4CDC8EED.60602@candelatech.com> Date: Thu, 11 Nov 2010 16:48:45 -0800 From: Ben Greear MIME-Version: 1.0 To: Tejun Heo CC: Johannes Berg , "linux-wireless@vger.kernel.org" Subject: Re: ath5k/mac80211: Reproducible deadlock with 64-stations. References: <4CDB2488.4040802@candelatech.com> <1289437356.3748.25.camel@jlt3.sipsolutions.net> <4CDBB716.7020802@kernel.org> <4CDC2016.8020200@candelatech.com> In-Reply-To: <4CDC2016.8020200@candelatech.com> Content-Type: text/plain; charset=UTF-8; format=flowed Sender: linux-wireless-owner@vger.kernel.org List-ID: I have a potential scenario: The ieee80211_do_stop logic is called under RTNL, and it then calls flush_work(). What if the worker thread is currently blocked on something like wireless_nlevent_process which tries to acquire rtnl? Wouldn't that cause a deadlock? Thanks, Ben -- Ben Greear Candela Technologies Inc http://www.candelatech.com