From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from he.sipsolutions.net ([78.46.109.217]:41913 "EHLO sipsolutions.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933181Ab2GDKyr (ORCPT ); Wed, 4 Jul 2012 06:54:47 -0400 Message-ID: <1341399285.12432.1.camel@jlt3.sipsolutions.net> (sfid-20120704_125449_882919_EFE0C5BA) Subject: Re: Kernel oops in __netif_schedule() for at76c50x-usb From: Johannes Berg To: Larry Finger Cc: wireless Date: Wed, 04 Jul 2012 12:54:45 +0200 In-Reply-To: <1341398983.12432.0.camel@jlt3.sipsolutions.net> (sfid-20120704_124949_270873_53E38893) References: <4FF1BC71.4070002@lwfinger.net> (sfid-20120702_172127_238924_ED185EFD) <1341243087.19642.20.camel@jlt3.sipsolutions.net> <4FF1C887.8090009@lwfinger.net> (sfid-20120702_181310_720968_3FE88ADC) <1341250736.19642.22.camel@jlt3.sipsolutions.net> <4FF225AC.8020205@lwfinger.net> (sfid-20120703_005025_974399_3EFA8A16) <1341395171.4482.10.camel@jlt3.sipsolutions.net> (sfid-20120704_114618_455741_41EF0E8A) <1341398983.12432.0.camel@jlt3.sipsolutions.net> (sfid-20120704_124949_270873_53E38893) Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Sender: linux-wireless-owner@vger.kernel.org List-ID: On Wed, 2012-07-04 at 12:49 +0200, Johannes Berg wrote: > On Wed, 2012-07-04 at 11:46 +0200, Johannes Berg wrote: > > > > >> Although you may want to change the enable code path, some patch will be needed > > > >> to prevent a regression in 3.5. If this is the one, you may add a "Tested-by" > > > >> for me. > > > > > > > > Thanks. Could you try this patch instead? I think it makes more sense. > > > > > > > > http://p.sipsolutions.net/c3e9b814a409ca11.txt > > > > > > That one fails and gives the oops in __netif_schedule. > > > > Hmmm, that's odd. I'll try to reproduce this to be able to track it > > better. > > Ok, strange. I can reproduce the original problem easily with hwsim, but > with this new patch, which should be equivalent to the old, it's fixed: > > http://p.sipsolutions.net/d78d8740ad2d15b4.txt Ok, actually, the same bug is on stop, but for some reason that doesn't crash for me. I've posted this patch now: http://p.sipsolutions.net/55032a5ae0520dd8.txt johannes