Return-path: Received: from mail-bw0-f219.google.com ([209.85.218.219]:44675 "EHLO mail-bw0-f219.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933464AbZHWOkO convert rfc822-to-8bit (ORCPT ); Sun, 23 Aug 2009 10:40:14 -0400 Received: by bwz19 with SMTP id 19so1099995bwz.37 for ; Sun, 23 Aug 2009 07:40:15 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <20090823001218.GE6762@hash.localnet> References: <20090822124709.GA6762@hash.localnet> <20090822134044.GC6762@hash.localnet> <20090823001218.GE6762@hash.localnet> Date: Sun, 23 Aug 2009 16:40:15 +0200 Message-ID: Subject: Re: WARNING: at net/mac80211/mlme.c:2292 From: Fabio Comolli To: Bob Copeland Cc: linux-wireless@vger.kernel.org, "Luis R. Rodriguez" Content-Type: text/plain; charset=UTF-8 Sender: linux-wireless-owner@vger.kernel.org List-ID: Hi. On Sun, Aug 23, 2009 at 2:12 AM, Bob Copeland wrote: > On Sat, Aug 22, 2009 at 09:29:39PM +0200, Fabio Comolli wrote: >> Hi Bob. >> Unfortunately the patch doesn't apply at all with compat-wireless, >> there's no "flush_workqueue" before "local->suspended" there.... > > Ah yes, it got moved into ieee80211_stop_device().  Can you put > local->suspended and the barrier() ahead of that? > Well, this crashed my system. Backtrace copied by hand: warning at net/wireless/core.c wdev_cleanup_work [cfg80211] warn_slowpat_common warn_slowpath_null wdev_cleanup_work [cfg80211] worker_thread wdev_cleanup_work [cfg80211] autoresolve_wake_function worker_thread kthread kthread kernel_thread_helper > Thanks! Regards, Fabio > > -- > Bob Copeland %% www.bobcopeland.com > >