Return-path: Received: from charlotte.tuxdriver.com ([70.61.120.58]:58877 "EHLO smtp.tuxdriver.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751436Ab0K2T3r (ORCPT ); Mon, 29 Nov 2010 14:29:47 -0500 Date: Mon, 29 Nov 2010 14:26:29 -0500 From: "John W. Linville" To: David Kilroy Cc: linux-wireless@vger.kernel.org, comes@naic.edu, David Kilroy Subject: Re: [PATCH] orinoco: abort scan on interface down Message-ID: <20101129192628.GC8199@tuxdriver.com> References: <1290630782-11095-1-git-send-email-kilroyd@googlemail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: <1290630782-11095-1-git-send-email-kilroyd@googlemail.com> Sender: linux-wireless-owner@vger.kernel.org List-ID: On Wed, Nov 24, 2010 at 08:33:02PM +0000, David Kilroy wrote: > This fixes the problem causing the following trace: > > ------------[ cut here ]------------ > WARNING: at linux-2.6.34/net/wireless/core.c:633 wdev_cleanup_work+0xb7/0xe0 [cfg80211]() > Hardware name: Latitude C840 > Pid: 707, comm: cfg80211 Not tainted 2.6.34.7-0.5-desktop #1 > Call Trace: > [] try_stack_unwind+0x173/0x190 > [] dump_trace+0x3f/0xe0 > [] show_trace_log_lvl+0x4b/0x60 > [] show_trace+0x18/0x20 > [] dump_stack+0x6d/0x72 > [] warn_slowpath_common+0x6e/0xb0 > [] warn_slowpath_null+0x13/0x20 > [] wdev_cleanup_work+0xb7/0xe0 [cfg80211] > [] run_workqueue+0x79/0x170 > [] worker_thread+0x83/0xe0 > [] kthread+0x74/0x80 > [] kernel_thread_helper+0x6/0x10 > ---[ end trace 3f0348b3b0c6f4ff ]--- > > Reported by: Giacomo Comes > Signed-off-by: David Kilroy > --- > > This patch has only been compile tested. Given the trace, I've > guessed that cfg80211 would prefer that orinoco abort the scan on > interface down. Any chance we can get a Tested-by on this one, so I can feel good about sending it for 2.6.37? John -- John W. Linville Someday the world will need a hero, and you linville@tuxdriver.com might be all we have. Be ready.