From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail-pz0-f46.google.com ([209.85.210.46]:47240 "EHLO mail-pz0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753459Ab1FMH4C (ORCPT ); Mon, 13 Jun 2011 03:56:02 -0400 Received: by pzk9 with SMTP id 9so2018441pzk.19 for ; Mon, 13 Jun 2011 00:56:01 -0700 (PDT) Date: Mon, 13 Jun 2011 10:55:33 +0300 From: Dan Carpenter To: Kalle Valo Cc: gregkh@suse.de, devel@linuxdriverproject.org, linux-wireless@vger.kernel.org, vasanth@atheros.com Subject: Re: [PATCH 5/5] ath6kl: fix crash when interface is closed but scan is ongoing Message-ID: <20110613075533.GD3583@shale.localdomain> (sfid-20110613_095606_590311_5F0DE45B) References: <20110608114240.32208.31805.stgit@localhost6.localdomain6> <20110608115501.32208.82264.stgit@localhost6.localdomain6> <20110608200332.GC4069@shale.localdomain> <20110608201458.GD4069@shale.localdomain> <87sjrj6svb.fsf@purkki.adurom.net> <20110609152453.GH4069@shale.localdomain> <87fwne6uda.fsf@purkki.adurom.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: <87fwne6uda.fsf@purkki.adurom.net> Sender: linux-wireless-owner@vger.kernel.org List-ID: On Mon, Jun 13, 2011 at 10:52:33AM +0300, Kalle Valo wrote: > Dan Carpenter writes: > > > On Thu, Jun 09, 2011 at 04:23:36PM +0300, Kalle Valo wrote: > >> I only combined the pending ath6kl patches, I did not edit them. > >> Vasanth sent patch 4 few days earlier and that's why you see the > >> change here. But if greg wants, I can drop patch 4 and resend the > >> series. > > > > Part of the problem is that patch doesn't add the check for NULL > > consistently throughout the function. There is a place where a NULL > > deref could still be triggered later on. Let's just drop it instead > > of fixing it. > > Agreed. > > But I see that Greg applied the patch 4 already. So I just drop patch > 4 from my patchset and resend patch 5 as is (ie. removing the > unnecessary null check). Yep. It really should go the 3.0 kernel along with [PATCH 3/5] ath6kl: cache firmware. regards, dan carpenter