Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp4163368ybc; Thu, 14 Nov 2019 23:18:51 -0800 (PST) X-Google-Smtp-Source: APXvYqwRB8LQi/bwbuzTiUqLJAFu/6U7U3qOLdjHRQ0Pp+2QtlKSuKWyIJlWZrePf7ciFFf4SoFb X-Received: by 2002:a17:906:57d7:: with SMTP id u23mr11931373ejr.130.1573802331467; Thu, 14 Nov 2019 23:18:51 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1573802331; cv=none; d=google.com; s=arc-20160816; b=I22U+4wl0NbUyO2qBHdxDZXXfEqi9hf3qlTanHgREZFE75RU5bThME8K78GdXrMUc4 pr7Wg49IIw5mp85p3CvAEXOt96eKdkbvmNc88avvjOrkhJKcwrekBE5+3w7JDaJEi18w kVMXTbUFwmPRxHhrcwW/5n+ABivgebKjvuCo0itmsdjHJDxzPZePSxVzbrUARY4/Rzsp pTkm8xPkEo9svigl/9/t0l+hEIvmu5fHFcKvFtE17DDmcgTjnNvTyCnJbsthqk+KbvwW G7Qh1RsxQm14fSGi/tOTZe+k7kv+HclgpAvh9zLCbzzS+7907LYauyYonLmdyC0reWWc 0KQg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:message-id :in-reply-to:date:references:subject:cc:to:from:dmarc-filter :dkim-signature:dkim-signature; bh=56peDBPh9jsQZkdsG3vuaFTcRKzoiltnLi+kX64NxDw=; b=XmEEuTM89uDv+OurWqbLpnjBhATwcbHV2Rl9IBvSv7YxCEWn0upjkoWxoJlAd+X+sG QKLTSSkT4KD/K2TNwINvcvNr0j7eLK/rTmgyDssXMqwyum/BH86NUNPArr9rk5bFDJEG 40g7JMcqkFbkJQUKqu2Tnmd6gquVr5l+lNSDYnKqgtdfV+SiQQTFwKoa01qxmJh2EjQI CTCrp63t3Oh+YvzsHwEGzqTwIpYhrydojGyFzqH5wjxNdGJcG47OkHCxAt2xly6xEmDT N/cGhqHMGU92aZf/mTL4Nij46MgaJwbVf191mDRKkYl+YPzF4CJz7l3AehHDTrzb3CQ8 pYqQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@codeaurora.org header.s=default header.b=lFXoXJxL; dkim=pass header.i=@codeaurora.org header.s=default header.b=lFXoXJxL; spf=pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l12si6452539edk.60.2019.11.14.23.18.19; Thu, 14 Nov 2019 23:18:51 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@codeaurora.org header.s=default header.b=lFXoXJxL; dkim=pass header.i=@codeaurora.org header.s=default header.b=lFXoXJxL; spf=pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726974AbfKOHPx (ORCPT + 99 others); Fri, 15 Nov 2019 02:15:53 -0500 Received: from smtp.codeaurora.org ([198.145.29.96]:33680 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725774AbfKOHPx (ORCPT ); Fri, 15 Nov 2019 02:15:53 -0500 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id DF61A61069; Fri, 15 Nov 2019 07:15:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1573802152; bh=Zwj2PlJGaJYZ2Cm+3gCzcnXOYiESlNN+0oBNClYl2cg=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=lFXoXJxLiHMdR8fqrddOkGXx82uAJUBK8P5ghQCDmCn8Y0mi3Siuk9X7rL3lTSMCl A+ZnCRpMeknVVPylpmJBIESzhTA7UJRWYvCeEd1r9O+xL1sQ0NXyxVJOQNcYoE24zd 3DX96m0kaAaI/qKcZjhomNlVlPc85MJrj5uncFMI= X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on pdx-caf-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.7 required=2.0 tests=ALL_TRUSTED,BAYES_00, DKIM_INVALID,DKIM_SIGNED,SPF_NONE autolearn=no autolearn_force=no version=3.4.0 Received: from tynnyri.adurom.net (tynnyri.adurom.net [51.15.11.48]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: kvalo@smtp.codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id 748AE61014; Fri, 15 Nov 2019 07:15:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1573802152; bh=Zwj2PlJGaJYZ2Cm+3gCzcnXOYiESlNN+0oBNClYl2cg=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=lFXoXJxLiHMdR8fqrddOkGXx82uAJUBK8P5ghQCDmCn8Y0mi3Siuk9X7rL3lTSMCl A+ZnCRpMeknVVPylpmJBIESzhTA7UJRWYvCeEd1r9O+xL1sQ0NXyxVJOQNcYoE24zd 3DX96m0kaAaI/qKcZjhomNlVlPc85MJrj5uncFMI= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 748AE61014 Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=none smtp.mailfrom=kvalo@codeaurora.org From: Kalle Valo To: Ming Chen Cc: Johannes Berg , linux-wireless@vger.kernel.org, Ming Chen Subject: Re: [PATCH v2] mac80211: Drop the packets whose source or destination mac address is empty References: <20191114195712.101568-1-ming.chen@watchguard.com> Date: Fri, 15 Nov 2019 09:15:49 +0200 In-Reply-To: <20191114195712.101568-1-ming.chen@watchguard.com> (Ming Chen's message of "Thu, 14 Nov 2019 11:57:12 -0800") Message-ID: <87r229boey.fsf@tynnyri.adurom.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org Ming Chen writes: > We occasionally found ath9k could receive some packets from Linux IP stack > with empty source and destination mac address,which will result in the > driver cannot find the station node in TX complete. And thus, the driver > will complete this buffer but without updating the block ack window. > > To fix this issue, we should drop this kind of error packet before it > goes into the driver. The s-o-b line should be here, before the "---" line. > --- > > According to review feedback, use the is_zero_ether_addr to check if the > mac address is empty. Very good that you added the changelog, but to make it more obvious you could, for example, mark the changelog like this: --- v3: Fix s-o-b location v2: According to review feedback, use the is_zero_ether_addr to check if the mac address is empty. -- https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches