Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp4555938ybb; Tue, 14 Apr 2020 09:32:31 -0700 (PDT) X-Google-Smtp-Source: APiQypIbBeTRCssLXWNENNbHBkpP4698mWUab/gLmpohE/fnPzAB9uOOn42SfV95XpG/rspHnJgO X-Received: by 2002:a17:907:435d:: with SMTP id oc21mr1041899ejb.100.1586881951679; Tue, 14 Apr 2020 09:32:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1586881951; cv=none; d=google.com; s=arc-20160816; b=Xapo1gwYq+ZvJQW71DfFmCnPSIQOQWtXAQWbkDV6A+/5xxPez0Y1eXqMd64Nsh4VCS RxVCSrukNznwG/vNqy1P5T3E44vGEEmnOw5vj2b2odBIrtUj6PRHeMiQAdF8uhLXivh4 L3+mlW7S9du5SfF7CEmjrDi979MnDxXDbwHhyZwV6PKENIdlUNEhbSwDPtRkEcRjkSo6 uf1UZTjR3FvVechdRU3jeOdLAD8on+4pPMV1ZsICnylexdWkGnV1L0aYs+OFFbCLmmFN NNr8vttxVl9yVRVYiuark/tGIN7L2dLM4MYV2rhWDH7Dq6x6pgXr46o91x+NhAbZBDaQ kOrg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:date:message-id:user-agent:cc:to :references:in-reply-to:from:subject:content-transfer-encoding :mime-version:dmarc-filter:dkim-signature; bh=3Eu+2EsqIxX4Ri9OtZXYaWwduDJVg0YfAuL8SNXYRlM=; b=z//i4y0FX+3m55TN48BRq9GaawKpwX/VS6QNsxq9+cWvsJfUvdUJNETPk+BbRmqGBX SjiDKCq3lGhn8r7z33K1UQaub8PEwtmOKbDP+DVrir93C7VBORxO32qVzInpoRZBUkwz ZAjBWtlwXXOF7KVGL4QrS8vnMQN/YuTc+1nR48bK23k/PUDNAR5a64wwWpNaKU4eU/yX lvL0OQujNzktZP/UhxWPnZ9MVCz7ZlqsoPBL5Wc31W6mKXjRK/l+IL3m6HLdbUIJqiPa bnorYwwHHhZNqjPbjysztvfImA6FAvmwZsWhtF3eqLAiSLuaFWp0NpxOxl9gA4uulNIm +yDQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@mg.codeaurora.org header.s=smtp header.b=LNaOpEoV; spf=pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id v17si8470529eji.303.2020.04.14.09.32.07; Tue, 14 Apr 2020 09:32:31 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=fail header.i=@mg.codeaurora.org header.s=smtp header.b=LNaOpEoV; spf=pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2436821AbgDNPLC (ORCPT + 99 others); Tue, 14 Apr 2020 11:11:02 -0400 Received: from mail26.static.mailgun.info ([104.130.122.26]:35881 "EHLO mail26.static.mailgun.info" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2436798AbgDNPIa (ORCPT ); Tue, 14 Apr 2020 11:08:30 -0400 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.codeaurora.org; q=dns/txt; s=smtp; t=1586876910; h=Date: Message-Id: Cc: To: References: In-Reply-To: From: Subject: Content-Transfer-Encoding: MIME-Version: Content-Type: Sender; bh=3Eu+2EsqIxX4Ri9OtZXYaWwduDJVg0YfAuL8SNXYRlM=; b=LNaOpEoVgnogtYgv5eRFPGQvbcjdZNa03czHzeM5/0ZjDi82PCjaRhRqfWlJw69EMVRpK7+d 3AjzBAAmoxRAX9/3MsxaCAjjVb8162wq7kI5VXA0eIDJTZ75ceIWG7sHaTE/avgdQKsVyRxJ UuNELHibkAofjNG6kx9lweD10fA= X-Mailgun-Sending-Ip: 104.130.122.26 X-Mailgun-Sid: WyI3YTAwOSIsICJsaW51eC13aXJlbGVzc0B2Z2VyLmtlcm5lbC5vcmciLCAiYmU5ZTRhIl0= Received: from smtp.codeaurora.org (ec2-35-166-182-171.us-west-2.compute.amazonaws.com [35.166.182.171]) by mxa.mailgun.org with ESMTP id 5e95d1ed.7fdb720ae8b8-smtp-out-n04; Tue, 14 Apr 2020 15:08:29 -0000 (UTC) Received: by smtp.codeaurora.org (Postfix, from userid 1001) id 586F4C433CB; Tue, 14 Apr 2020 15:08:29 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-caf-mail-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=0.5 required=2.0 tests=ALL_TRUSTED,MISSING_DATE, MISSING_MID,SPF_NONE autolearn=no autolearn_force=no version=3.4.0 Received: from potku.adurom.net (88-114-240-156.elisa-laajakaista.fi [88.114.240.156]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: kvalo) by smtp.codeaurora.org (Postfix) with ESMTPSA id 62B80C4478C; Tue, 14 Apr 2020 15:08:26 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 62B80C4478C Authentication-Results: aws-us-west-2-caf-mail-1.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: aws-us-west-2-caf-mail-1.web.codeaurora.org; spf=none smtp.mailfrom=kvalo@codeaurora.org Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Re: [PATCH] b43legacy: Fix case where channel status is corrupted From: Kalle Valo In-Reply-To: <20200407190043.1686-1-Larry.Finger@lwfinger.net> References: <20200407190043.1686-1-Larry.Finger@lwfinger.net> To: Larry Finger Cc: linux-wireless@vger.kernel.org, Larry Finger , Stable User-Agent: pwcli/0.0.0-git (https://github.com/kvalo/pwcli/) Python/2.7.12 Message-Id: <20200414150829.586F4C433CB@smtp.codeaurora.org> Date: Tue, 14 Apr 2020 15:08:29 +0000 (UTC) Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org Larry Finger wrote: > This patch fixes commit 75388acd0cd8 ("add mac80211-based driver for > legacy BCM43xx devices") > > In https://bugzilla.kernel.org/show_bug.cgi?id=207093, a defect in > b43legacy is reported. Upon testing, thus problem exists on PPC and > X86 platforms, is present in the oldest kernel tested (3.2), and > has been present in the driver since it was first added to the kernel. > > The problem is a corrupted channel status received from the device. > Both the internal card in a PowerBook G4 and the PCMCIA version > (Broadcom BCM4306 with PCI ID 14e4:4320) have the problem. Only Rev, 2 > (revision 4 of the 802.11 core) of the chip has been tested. No other > devices using b43legacy are available for testing. > > Various sources of the problem were considered. Buffer overrun and > other sources of corruption within the driver were rejected because > the faulty channel status is always the same, not a random value. > It was concluded that the faulty data is coming from the device, probably > due to a firmware bug. As that source is not available, the driver > must take appropriate action to recover. > > At present, the driver reports the error, and them continues to process > the bad packet. This is believed that to be a mistake, and the correct > action is to drop the correpted packet. > > Fixes: 75388acd0cd8 ("add mac80211-based driver for legacy BCM43xx devices") > Cc: Stable > Signed-off-by: Larry Finger > Reported-and-tested by: F. Erhard Patch applied to wireless-drivers-next.git, thanks. ec4d3e3a0545 b43legacy: Fix case where channel status is corrupted -- https://patchwork.kernel.org/patch/11478883/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches