Received: by 2002:a05:6a10:c604:0:0:0:0 with SMTP id y4csp432150pxt; Thu, 5 Aug 2021 03:21:23 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw5WGUt7VOO4JbwT8rAWQNmhDqotZkQ10sP5+OXT55EA9kSXfK3UwQp1gyWrsTpuFhVX4Jh X-Received: by 2002:a17:906:b30d:: with SMTP id n13mr4123698ejz.401.1628158883052; Thu, 05 Aug 2021 03:21:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1628158883; cv=none; d=google.com; s=arc-20160816; b=XWoTrs/JsaggssxK4VuPMPTAbJUeItGIyMx6dWagM9hMLggDT2RrJXo4Ngju9clf07 4sGwzI97JxEeyovx9qfmp1JJ6anQn4ie6VA+dLxP+68pbZLfszT9Vor+Kx06C0/NvQDw njNiqOY272eeYAcm6JgA9DnPavW8or9Yu95mgB2ivdwfVrpU7pNsgV3nkRuUCzwedVKs zDvJi1dNEm+u0feVxVJtTvM/p7STmKQC5HVthdp8tOKORwYWS/ajPbYxA/PhBToPSdaH 8pw6QFlHwi/K2kfJTk+eqV8KZx4xoTfBCnzc0WIVIEuB1qjzSU5k5m8rRNLMeYwgIyPU URyQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:subject:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:cc:to:from; bh=hvYY/LJODiKAUbpSI5Jx+O82lAL/HEE+SW+JIKQlcFE=; b=V7MhZeM1eQWPzgNwN/mxziphbrOnpS9MSDJnEVLAealAJ5dpqJOrB3Ke3nxczBcunB arTXkyKhepg3BPn4qZ1o/e74+wqJbnlT3LqkJpng+ndAkqzoYyxYZvPZICYM3hfIOaFX Utd+GiFkRGRg63JQf6oct7GICUajnWTy4gIJJB6bIl8Tk/XtnIzd4qojnYT4qqtFvk+M CV9hz4+PNUwxOK+igDvV7iM5gHJ2s1mU3DTQpT2USIc5+4vApvp8izeTzeTjRlpGEWy9 X0fL0cQDO91B1P5r9yLtWdA7Lyz3LG9TvT5i3qO9jSkh+N7vmyXq4eJ3GZBTAwq55IbK nvKQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: 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 mp33si5477395ejc.40.2021.08.05.03.20.59; Thu, 05 Aug 2021 03:21:23 -0700 (PDT) Received-SPF: pass (google.com: 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; spf=pass (google.com: 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 S240236AbhHEKUB (ORCPT + 99 others); Thu, 5 Aug 2021 06:20:01 -0400 Received: from paleale.coelho.fi ([176.9.41.70]:51236 "EHLO farmhouse.coelho.fi" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S240215AbhHEKT6 (ORCPT ); Thu, 5 Aug 2021 06:19:58 -0400 Received: from 91-156-6-193.elisa-laajakaista.fi ([91.156.6.193] helo=kveik.lan) by farmhouse.coelho.fi with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94) (envelope-from ) id 1mBaTW-00240Q-D5; Thu, 05 Aug 2021 13:19:43 +0300 From: Luca Coelho To: kvalo@codeaurora.org Cc: luca@coelho.fi, linux-wireless@vger.kernel.org Date: Thu, 5 Aug 2021 13:19:29 +0300 Message-Id: X-Mailer: git-send-email 2.32.0 In-Reply-To: <20210805101934.431479-1-luca@coelho.fi> References: <20210805101934.431479-1-luca@coelho.fi> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Checker-Version: SpamAssassin 3.4.5-pre1 (2020-06-20) on farmhouse.coelho.fi X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,BAYES_00, TVD_RCVD_IP autolearn=ham autolearn_force=no version=3.4.5-pre1 Subject: [PATCH 07/12] iwlwifi: mvm: silently drop encrypted frames for unknown station Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org From: Avraham Stern When a station is removed, the driver-mac80211 station mapping is removed before the station is actually deleted from the FW. As a result, it is reasonable that the FW will continue to pass frames although the driver doesn't have a station for them anymore. Thus change the message severity level from ERR to DEBUG_DROP. Signed-off-by: Avraham Stern Signed-off-by: Luca Coelho --- drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c b/drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c index c0babb8d5b5c..06cc03820dd5 100644 --- a/drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c +++ b/drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c @@ -69,8 +69,8 @@ static inline int iwl_mvm_check_pn(struct iwl_mvm *mvm, struct sk_buff *skb, /* if we are here - this for sure is either CCMP or GCMP */ if (IS_ERR_OR_NULL(sta)) { - IWL_ERR(mvm, - "expected hw-decrypted unicast frame for station\n"); + IWL_DEBUG_DROP(mvm, + "expected hw-decrypted unicast frame for station\n"); return -1; } -- 2.32.0